Changeset View
Changeset View
Standalone View
Standalone View
wayland_server.h
Show All 28 Lines | |||||
29 | class QWindow; | 29 | class QWindow; | ||
30 | 30 | | |||
31 | namespace KWayland | 31 | namespace KWayland | ||
32 | { | 32 | { | ||
33 | namespace Client | 33 | namespace Client | ||
34 | { | 34 | { | ||
35 | class ConnectionThread; | 35 | class ConnectionThread; | ||
36 | class Registry; | 36 | class Registry; | ||
37 | class Compositor; | ||||
37 | class Seat; | 38 | class Seat; | ||
38 | class DataDeviceManager; | 39 | class DataDeviceManager; | ||
39 | class ShmPool; | 40 | class ShmPool; | ||
40 | class Surface; | 41 | class Surface; | ||
41 | } | 42 | } | ||
42 | namespace Server | 43 | namespace Server | ||
43 | { | 44 | { | ||
44 | class AppMenuManagerInterface; | 45 | class AppMenuManagerInterface; | ||
▲ Show 20 Lines • Show All 119 Lines • ▼ Show 20 Line(s) | 164 | KWayland::Server::ClientConnection *inputMethodConnection() const { | |||
164 | return m_inputMethodServerConnection; | 165 | return m_inputMethodServerConnection; | ||
165 | } | 166 | } | ||
166 | KWayland::Server::ClientConnection *internalConnection() const { | 167 | KWayland::Server::ClientConnection *internalConnection() const { | ||
167 | return m_internalConnection.server; | 168 | return m_internalConnection.server; | ||
168 | } | 169 | } | ||
169 | KWayland::Server::ClientConnection *screenLockerClientConnection() const { | 170 | KWayland::Server::ClientConnection *screenLockerClientConnection() const { | ||
170 | return m_screenLockerClientConnection; | 171 | return m_screenLockerClientConnection; | ||
171 | } | 172 | } | ||
173 | KWayland::Client::Compositor *internalCompositor() { | ||||
174 | return m_internalConnection.comp; | ||||
175 | } | ||||
172 | KWayland::Client::Seat *internalSeat() { | 176 | KWayland::Client::Seat *internalSeat() { | ||
173 | return m_internalConnection.seat; | 177 | return m_internalConnection.seat; | ||
174 | } | 178 | } | ||
175 | KWayland::Client::DataDeviceManager *internalDataDeviceManager() { | 179 | KWayland::Client::DataDeviceManager *internalDataDeviceManager() { | ||
176 | return m_internalConnection.ddm; | 180 | return m_internalConnection.ddm; | ||
177 | } | 181 | } | ||
178 | KWayland::Client::ShmPool *internalShmPool() { | 182 | KWayland::Client::ShmPool *internalShmPool() { | ||
179 | return m_internalConnection.shm; | 183 | return m_internalConnection.shm; | ||
▲ Show 20 Lines • Show All 69 Lines • ▼ Show 20 Line(s) | 222 | private: | |||
249 | } m_xwayland; | 253 | } m_xwayland; | ||
250 | KWayland::Server::ClientConnection *m_inputMethodServerConnection = nullptr; | 254 | KWayland::Server::ClientConnection *m_inputMethodServerConnection = nullptr; | ||
251 | KWayland::Server::ClientConnection *m_screenLockerClientConnection = nullptr; | 255 | KWayland::Server::ClientConnection *m_screenLockerClientConnection = nullptr; | ||
252 | struct { | 256 | struct { | ||
253 | KWayland::Server::ClientConnection *server = nullptr; | 257 | KWayland::Server::ClientConnection *server = nullptr; | ||
254 | KWayland::Client::ConnectionThread *client = nullptr; | 258 | KWayland::Client::ConnectionThread *client = nullptr; | ||
255 | QThread *clientThread = nullptr; | 259 | QThread *clientThread = nullptr; | ||
256 | KWayland::Client::Registry *registry = nullptr; | 260 | KWayland::Client::Registry *registry = nullptr; | ||
261 | KWayland::Client::Compositor *comp = nullptr; | ||||
zzag: %%%* compositor | |||||
257 | KWayland::Client::Seat *seat = nullptr; | 262 | KWayland::Client::Seat *seat = nullptr; | ||
258 | KWayland::Client::DataDeviceManager *ddm = nullptr; | 263 | KWayland::Client::DataDeviceManager *ddm = nullptr; | ||
259 | KWayland::Client::ShmPool *shm = nullptr; | 264 | KWayland::Client::ShmPool *shm = nullptr; | ||
260 | bool interfacesAnnounced = false; | 265 | bool interfacesAnnounced = false; | ||
261 | 266 | | |||
262 | } m_internalConnection; | 267 | } m_internalConnection; | ||
263 | KWayland::Server::XdgForeignInterface *m_XdgForeign = nullptr; | 268 | KWayland::Server::XdgForeignInterface *m_XdgForeign = nullptr; | ||
264 | QList<ShellClient*> m_clients; | 269 | QList<ShellClient*> m_clients; | ||
Show All 16 Lines |
* compositor