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 128 Lines • ▼ Show 20 Line(s) | 173 | KWayland::Server::ClientConnection *inputMethodConnection() const { | |||
173 | return m_inputMethodServerConnection; | 174 | return m_inputMethodServerConnection; | ||
174 | } | 175 | } | ||
175 | KWayland::Server::ClientConnection *internalConnection() const { | 176 | KWayland::Server::ClientConnection *internalConnection() const { | ||
176 | return m_internalConnection.server; | 177 | return m_internalConnection.server; | ||
177 | } | 178 | } | ||
178 | KWayland::Server::ClientConnection *screenLockerClientConnection() const { | 179 | KWayland::Server::ClientConnection *screenLockerClientConnection() const { | ||
179 | return m_screenLockerClientConnection; | 180 | return m_screenLockerClientConnection; | ||
180 | } | 181 | } | ||
182 | KWayland::Client::Compositor *internalCompositor() { | ||||
183 | return m_internalConnection.compositor; | ||||
184 | } | ||||
181 | KWayland::Client::Seat *internalSeat() { | 185 | KWayland::Client::Seat *internalSeat() { | ||
182 | return m_internalConnection.seat; | 186 | return m_internalConnection.seat; | ||
183 | } | 187 | } | ||
184 | KWayland::Client::DataDeviceManager *internalDataDeviceManager() { | 188 | KWayland::Client::DataDeviceManager *internalDataDeviceManager() { | ||
185 | return m_internalConnection.ddm; | 189 | return m_internalConnection.ddm; | ||
186 | } | 190 | } | ||
187 | KWayland::Client::ShmPool *internalShmPool() { | 191 | KWayland::Client::ShmPool *internalShmPool() { | ||
188 | return m_internalConnection.shm; | 192 | return m_internalConnection.shm; | ||
▲ Show 20 Lines • Show All 70 Lines • ▼ Show 20 Line(s) | 231 | private: | |||
259 | } m_xwayland; | 263 | } m_xwayland; | ||
260 | KWayland::Server::ClientConnection *m_inputMethodServerConnection = nullptr; | 264 | KWayland::Server::ClientConnection *m_inputMethodServerConnection = nullptr; | ||
261 | KWayland::Server::ClientConnection *m_screenLockerClientConnection = nullptr; | 265 | KWayland::Server::ClientConnection *m_screenLockerClientConnection = nullptr; | ||
262 | struct { | 266 | struct { | ||
263 | KWayland::Server::ClientConnection *server = nullptr; | 267 | KWayland::Server::ClientConnection *server = nullptr; | ||
264 | KWayland::Client::ConnectionThread *client = nullptr; | 268 | KWayland::Client::ConnectionThread *client = nullptr; | ||
265 | QThread *clientThread = nullptr; | 269 | QThread *clientThread = nullptr; | ||
266 | KWayland::Client::Registry *registry = nullptr; | 270 | KWayland::Client::Registry *registry = nullptr; | ||
271 | KWayland::Client::Compositor *compositor = nullptr; | ||||
zzag: %%%* compositor | |||||
267 | KWayland::Client::Seat *seat = nullptr; | 272 | KWayland::Client::Seat *seat = nullptr; | ||
268 | KWayland::Client::DataDeviceManager *ddm = nullptr; | 273 | KWayland::Client::DataDeviceManager *ddm = nullptr; | ||
269 | KWayland::Client::ShmPool *shm = nullptr; | 274 | KWayland::Client::ShmPool *shm = nullptr; | ||
270 | bool interfacesAnnounced = false; | 275 | bool interfacesAnnounced = false; | ||
271 | 276 | | |||
272 | } m_internalConnection; | 277 | } m_internalConnection; | ||
273 | KWayland::Server::XdgForeignInterface *m_XdgForeign = nullptr; | 278 | KWayland::Server::XdgForeignInterface *m_XdgForeign = nullptr; | ||
274 | QList<ShellClient*> m_clients; | 279 | QList<ShellClient*> m_clients; | ||
Show All 16 Lines |
* compositor