diff --git a/shell_client.h b/shell_client.h index 3adeaacf6d..028d1dc467 100644 --- a/shell_client.h +++ b/shell_client.h @@ -156,4 +156,6 @@ private: } +Q_DECLARE_METATYPE(KWin::ShellClient*) + #endif diff --git a/wayland_server.h b/wayland_server.h index 57fec168ba..2be2d2272e 100644 --- a/wayland_server.h +++ b/wayland_server.h @@ -133,8 +133,8 @@ public: quint32 createWindowId(KWayland::Server::SurfaceInterface *surface); Q_SIGNALS: - void shellClientAdded(ShellClient*); - void shellClientRemoved(ShellClient*); + void shellClientAdded(KWin::ShellClient*); + void shellClientRemoved(KWin::ShellClient*); private: quint16 createClientId(KWayland::Server::ClientConnection *c);