[wayland] Proper metatype for ShellClient

Needs meta type declared and properly used in WaylandServer.
This commit is contained in:
Martin Gräßlin 2015-10-05 17:35:53 +02:00
parent 3cb8438399
commit 0bb4498e1d
2 changed files with 4 additions and 2 deletions

View file

@ -156,4 +156,6 @@ private:
}
Q_DECLARE_METATYPE(KWin::ShellClient*)
#endif

View file

@ -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);