Commit 5c2631ab authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

Fix build

parent 36f31ff4
...@@ -84,8 +84,7 @@ class ShadowInterfacePrivate : public QtWaylandServer::org_kde_kwin_shadow ...@@ -84,8 +84,7 @@ class ShadowInterfacePrivate : public QtWaylandServer::org_kde_kwin_shadow
{ {
public: public:
ShadowInterfacePrivate(ShadowInterface *_q, wl_resource *resource); ShadowInterfacePrivate(ShadowInterface *_q, wl_resource *resource);
void commit(); ~ShadowInterfacePrivate();
void attach(State::Flags flag, wl_resource *buffer);
struct State { struct State {
enum Flags { enum Flags {
...@@ -111,6 +110,10 @@ public: ...@@ -111,6 +110,10 @@ public:
QMarginsF offset; QMarginsF offset;
Flags flags = Flags::None; Flags flags = Flags::None;
}; };
void commit();
void attach(State::Flags flag, wl_resource *buffer);
State current; State current;
State pending; State pending;
ShadowInterface *q; ShadowInterface *q;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment