Changeset View
Changeset View
Standalone View
Standalone View
wayland_server.h
Show First 20 Lines • Show All 63 Lines • ▼ Show 20 Line(s) | |||||
64 | class OutputConfigurationInterface; | 64 | class OutputConfigurationInterface; | ||
65 | class XdgDecorationManagerInterface; | 65 | class XdgDecorationManagerInterface; | ||
66 | class XdgShellInterface; | 66 | class XdgShellInterface; | ||
67 | class XdgForeignInterface; | 67 | class XdgForeignInterface; | ||
68 | class XdgOutputManagerInterface; | 68 | class XdgOutputManagerInterface; | ||
69 | class KeyStateInterface; | 69 | class KeyStateInterface; | ||
70 | class LinuxDmabufUnstableV1Interface; | 70 | class LinuxDmabufUnstableV1Interface; | ||
71 | class LinuxDmabufUnstableV1Buffer; | 71 | class LinuxDmabufUnstableV1Buffer; | ||
72 | class ViewporterInterface; | ||||
72 | } | 73 | } | ||
73 | } | 74 | } | ||
74 | 75 | | |||
75 | namespace KWin | 76 | namespace KWin | ||
76 | { | 77 | { | ||
77 | class XdgShellClient; | 78 | class XdgShellClient; | ||
78 | 79 | | |||
79 | class AbstractClient; | 80 | class AbstractClient; | ||
Show All 35 Lines | 115 | KWayland::Server::PlasmaWindowManagementInterface *windowManagement() { | |||
115 | return m_windowManagement; | 116 | return m_windowManagement; | ||
116 | } | 117 | } | ||
117 | KWayland::Server::ServerSideDecorationManagerInterface *decorationManager() const { | 118 | KWayland::Server::ServerSideDecorationManagerInterface *decorationManager() const { | ||
118 | return m_decorationManager; | 119 | return m_decorationManager; | ||
119 | } | 120 | } | ||
120 | KWayland::Server::XdgOutputManagerInterface *xdgOutputManager() const { | 121 | KWayland::Server::XdgOutputManagerInterface *xdgOutputManager() const { | ||
121 | return m_xdgOutputManager; | 122 | return m_xdgOutputManager; | ||
122 | } | 123 | } | ||
124 | KWayland::Server::ViewporterInterface *viewporter() const { | ||||
125 | return m_viewporter; | ||||
126 | } | ||||
123 | KWayland::Server::LinuxDmabufUnstableV1Interface *linuxDmabuf(); | 127 | KWayland::Server::LinuxDmabufUnstableV1Interface *linuxDmabuf(); | ||
124 | 128 | | |||
125 | QList<XdgShellClient *> clients() const { | 129 | QList<XdgShellClient *> clients() const { | ||
126 | return m_clients; | 130 | return m_clients; | ||
127 | } | 131 | } | ||
128 | void removeClient(XdgShellClient *c); | 132 | void removeClient(XdgShellClient *c); | ||
129 | XdgShellClient *findClient(quint32 id) const; | 133 | XdgShellClient *findClient(quint32 id) const; | ||
130 | XdgShellClient *findClient(KWayland::Server::SurfaceInterface *surface) const; | 134 | XdgShellClient *findClient(KWayland::Server::SurfaceInterface *surface) const; | ||
▲ Show 20 Lines • Show All 122 Lines • ▼ Show 20 Line(s) | 243 | private: | |||
253 | KWayland::Server::PlasmaWindowManagementInterface *m_windowManagement = nullptr; | 257 | KWayland::Server::PlasmaWindowManagementInterface *m_windowManagement = nullptr; | ||
254 | KWayland::Server::PlasmaVirtualDesktopManagementInterface *m_virtualDesktopManagement = nullptr; | 258 | KWayland::Server::PlasmaVirtualDesktopManagementInterface *m_virtualDesktopManagement = nullptr; | ||
255 | KWayland::Server::ServerSideDecorationManagerInterface *m_decorationManager = nullptr; | 259 | KWayland::Server::ServerSideDecorationManagerInterface *m_decorationManager = nullptr; | ||
256 | KWayland::Server::OutputManagementInterface *m_outputManagement = nullptr; | 260 | KWayland::Server::OutputManagementInterface *m_outputManagement = nullptr; | ||
257 | KWayland::Server::AppMenuManagerInterface *m_appMenuManager = nullptr; | 261 | KWayland::Server::AppMenuManagerInterface *m_appMenuManager = nullptr; | ||
258 | KWayland::Server::ServerSideDecorationPaletteManagerInterface *m_paletteManager = nullptr; | 262 | KWayland::Server::ServerSideDecorationPaletteManagerInterface *m_paletteManager = nullptr; | ||
259 | KWayland::Server::IdleInterface *m_idle = nullptr; | 263 | KWayland::Server::IdleInterface *m_idle = nullptr; | ||
260 | KWayland::Server::XdgOutputManagerInterface *m_xdgOutputManager = nullptr; | 264 | KWayland::Server::XdgOutputManagerInterface *m_xdgOutputManager = nullptr; | ||
265 | KWayland::Server::ViewporterInterface *m_viewporter = nullptr; | ||||
261 | KWayland::Server::XdgDecorationManagerInterface *m_xdgDecorationManager = nullptr; | 266 | KWayland::Server::XdgDecorationManagerInterface *m_xdgDecorationManager = nullptr; | ||
262 | KWayland::Server::LinuxDmabufUnstableV1Interface *m_linuxDmabuf = nullptr; | 267 | KWayland::Server::LinuxDmabufUnstableV1Interface *m_linuxDmabuf = nullptr; | ||
263 | QSet<KWayland::Server::LinuxDmabufUnstableV1Buffer*> m_linuxDmabufBuffers; | 268 | QSet<KWayland::Server::LinuxDmabufUnstableV1Buffer*> m_linuxDmabufBuffers; | ||
264 | struct { | 269 | struct { | ||
265 | KWayland::Server::ClientConnection *client = nullptr; | 270 | KWayland::Server::ClientConnection *client = nullptr; | ||
266 | QMetaObject::Connection destroyConnection; | 271 | QMetaObject::Connection destroyConnection; | ||
267 | } m_xwayland; | 272 | } m_xwayland; | ||
268 | KWayland::Server::ClientConnection *m_inputMethodServerConnection = nullptr; | 273 | KWayland::Server::ClientConnection *m_inputMethodServerConnection = nullptr; | ||
Show All 31 Lines |