Changeset View
Changeset View
Standalone View
Standalone View
shell_client.h
Show All 27 Lines | |||||
28 | { | 28 | { | ||
29 | namespace Server | 29 | namespace Server | ||
30 | { | 30 | { | ||
31 | class ShellSurfaceInterface; | 31 | class ShellSurfaceInterface; | ||
32 | class ServerSideDecorationInterface; | 32 | class ServerSideDecorationInterface; | ||
33 | class ServerSideDecorationPaletteInterface; | 33 | class ServerSideDecorationPaletteInterface; | ||
34 | class AppMenuInterface; | 34 | class AppMenuInterface; | ||
35 | class PlasmaShellSurfaceInterface; | 35 | class PlasmaShellSurfaceInterface; | ||
36 | class QtExtendedSurfaceInterface; | | |||
37 | class XdgDecorationInterface; | 36 | class XdgDecorationInterface; | ||
38 | } | 37 | } | ||
39 | } | 38 | } | ||
40 | 39 | | |||
41 | namespace KWin | 40 | namespace KWin | ||
42 | { | 41 | { | ||
43 | 42 | | |||
44 | /** | 43 | /** | ||
▲ Show 20 Lines • Show All 89 Lines • ▼ Show 20 Line(s) | 54 | public: | |||
134 | bool isInternal() const; | 133 | bool isInternal() const; | ||
135 | bool isLockScreen() const override; | 134 | bool isLockScreen() const override; | ||
136 | bool isInputMethod() const override; | 135 | bool isInputMethod() const override; | ||
137 | QWindow *internalWindow() const { | 136 | QWindow *internalWindow() const { | ||
138 | return m_internalWindow; | 137 | return m_internalWindow; | ||
139 | } | 138 | } | ||
140 | 139 | | |||
141 | void installPlasmaShellSurface(KWayland::Server::PlasmaShellSurfaceInterface *surface); | 140 | void installPlasmaShellSurface(KWayland::Server::PlasmaShellSurfaceInterface *surface); | ||
142 | void installQtExtendedSurface(KWayland::Server::QtExtendedSurfaceInterface *surface); | | |||
143 | void installServerSideDecoration(KWayland::Server::ServerSideDecorationInterface *decoration); | 141 | void installServerSideDecoration(KWayland::Server::ServerSideDecorationInterface *decoration); | ||
144 | void installAppMenu(KWayland::Server::AppMenuInterface *appmenu); | 142 | void installAppMenu(KWayland::Server::AppMenuInterface *appmenu); | ||
145 | void installPalette(KWayland::Server::ServerSideDecorationPaletteInterface *palette); | 143 | void installPalette(KWayland::Server::ServerSideDecorationPaletteInterface *palette); | ||
146 | void installXdgDecoration(KWayland::Server::XdgDecorationInterface *decoration); | 144 | void installXdgDecoration(KWayland::Server::XdgDecorationInterface *decoration); | ||
147 | 145 | | |||
148 | bool isInitialPositionSet() const override; | 146 | bool isInitialPositionSet() const override; | ||
149 | 147 | | |||
150 | bool isTransient() const override; | 148 | bool isTransient() const override; | ||
▲ Show 20 Lines • Show All 99 Lines • ▼ Show 20 Line(s) | 195 | private: | |||
250 | bool m_closing = false; | 248 | bool m_closing = false; | ||
251 | quint32 m_windowId = 0; | 249 | quint32 m_windowId = 0; | ||
252 | QWindow *m_internalWindow = nullptr; | 250 | QWindow *m_internalWindow = nullptr; | ||
253 | Qt::WindowFlags m_internalWindowFlags = Qt::WindowFlags(); | 251 | Qt::WindowFlags m_internalWindowFlags = Qt::WindowFlags(); | ||
254 | bool m_unmapped = true; | 252 | bool m_unmapped = true; | ||
255 | QRect m_geomMaximizeRestore; // size and position of the window before it was set to maximize | 253 | QRect m_geomMaximizeRestore; // size and position of the window before it was set to maximize | ||
256 | NET::WindowType m_windowType = NET::Normal; | 254 | NET::WindowType m_windowType = NET::Normal; | ||
257 | QPointer<KWayland::Server::PlasmaShellSurfaceInterface> m_plasmaShellSurface; | 255 | QPointer<KWayland::Server::PlasmaShellSurfaceInterface> m_plasmaShellSurface; | ||
258 | QPointer<KWayland::Server::QtExtendedSurfaceInterface> m_qtExtendedSurface; | | |||
259 | QPointer<KWayland::Server::AppMenuInterface> m_appMenuInterface; | 256 | QPointer<KWayland::Server::AppMenuInterface> m_appMenuInterface; | ||
260 | QPointer<KWayland::Server::ServerSideDecorationPaletteInterface> m_paletteInterface; | 257 | QPointer<KWayland::Server::ServerSideDecorationPaletteInterface> m_paletteInterface; | ||
261 | KWayland::Server::ServerSideDecorationInterface *m_serverDecoration = nullptr; | 258 | KWayland::Server::ServerSideDecorationInterface *m_serverDecoration = nullptr; | ||
262 | KWayland::Server::XdgDecorationInterface *m_xdgDecoration = nullptr; | 259 | KWayland::Server::XdgDecorationInterface *m_xdgDecoration = nullptr; | ||
263 | bool m_userNoBorder = false; | 260 | bool m_userNoBorder = false; | ||
264 | bool m_fullScreen = false; | 261 | bool m_fullScreen = false; | ||
265 | bool m_transient = false; | 262 | bool m_transient = false; | ||
266 | bool m_hidden = false; | 263 | bool m_hidden = false; | ||
Show All 40 Lines |