[wayland] Proper metatype for ShellClient
Needs meta type declared and properly used in WaylandServer.
This commit is contained in:
parent
3cb8438399
commit
0bb4498e1d
2 changed files with 4 additions and 2 deletions
|
@ -156,4 +156,6 @@ private:
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Q_DECLARE_METATYPE(KWin::ShellClient*)
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -133,8 +133,8 @@ public:
|
||||||
quint32 createWindowId(KWayland::Server::SurfaceInterface *surface);
|
quint32 createWindowId(KWayland::Server::SurfaceInterface *surface);
|
||||||
|
|
||||||
Q_SIGNALS:
|
Q_SIGNALS:
|
||||||
void shellClientAdded(ShellClient*);
|
void shellClientAdded(KWin::ShellClient*);
|
||||||
void shellClientRemoved(ShellClient*);
|
void shellClientRemoved(KWin::ShellClient*);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
quint16 createClientId(KWayland::Server::ClientConnection *c);
|
quint16 createClientId(KWayland::Server::ClientConnection *c);
|
||||||
|
|
Loading…
Reference in a new issue