From 0bb4498e1de8bdd43468a911e830d7f958e65eee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Mon, 5 Oct 2015 17:35:53 +0200 Subject: [PATCH] [wayland] Proper metatype for ShellClient Needs meta type declared and properly used in WaylandServer. --- shell_client.h | 2 ++ wayland_server.h | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) 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);