From 3407b06c58a4d572ff81f398a62a89d60f481f4c Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Tue, 28 Jul 2020 17:46:06 +0300 Subject: [PATCH] Fix build --- src/wayland/shadow_interface.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/wayland/shadow_interface.cpp b/src/wayland/shadow_interface.cpp index 34d77d4f42..cec8e4132c 100644 --- a/src/wayland/shadow_interface.cpp +++ b/src/wayland/shadow_interface.cpp @@ -84,8 +84,7 @@ class ShadowInterfacePrivate : public QtWaylandServer::org_kde_kwin_shadow { public: ShadowInterfacePrivate(ShadowInterface *_q, wl_resource *resource); - void commit(); - void attach(State::Flags flag, wl_resource *buffer); + ~ShadowInterfacePrivate(); struct State { enum Flags { @@ -111,6 +110,10 @@ public: QMarginsF offset; Flags flags = Flags::None; }; + + void commit(); + void attach(State::Flags flag, wl_resource *buffer); + State current; State pending; ShadowInterface *q;