Changeset View
Changeset View
Standalone View
Standalone View
shell_client.h
Show All 28 Lines | |||||
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; | 36 | class QtExtendedSurfaceInterface; | ||
37 | class XdgDecorationInterface; | ||||
37 | } | 38 | } | ||
38 | } | 39 | } | ||
39 | 40 | | |||
40 | namespace KWin | 41 | namespace KWin | ||
41 | { | 42 | { | ||
42 | 43 | | |||
43 | /** | 44 | /** | ||
44 | * @brief The reason for which the server pinged a client surface | 45 | * @brief The reason for which the server pinged a client surface | ||
▲ Show 20 Lines • Show All 92 Lines • ▼ Show 20 Line(s) | 137 | QWindow *internalWindow() const { | |||
137 | return m_internalWindow; | 138 | return m_internalWindow; | ||
138 | } | 139 | } | ||
139 | 140 | | |||
140 | void installPlasmaShellSurface(KWayland::Server::PlasmaShellSurfaceInterface *surface); | 141 | void installPlasmaShellSurface(KWayland::Server::PlasmaShellSurfaceInterface *surface); | ||
141 | void installQtExtendedSurface(KWayland::Server::QtExtendedSurfaceInterface *surface); | 142 | void installQtExtendedSurface(KWayland::Server::QtExtendedSurfaceInterface *surface); | ||
142 | void installServerSideDecoration(KWayland::Server::ServerSideDecorationInterface *decoration); | 143 | void installServerSideDecoration(KWayland::Server::ServerSideDecorationInterface *decoration); | ||
143 | void installAppMenu(KWayland::Server::AppMenuInterface *appmenu); | 144 | void installAppMenu(KWayland::Server::AppMenuInterface *appmenu); | ||
144 | void installPalette(KWayland::Server::ServerSideDecorationPaletteInterface *palette); | 145 | void installPalette(KWayland::Server::ServerSideDecorationPaletteInterface *palette); | ||
146 | void installXdgDecoration(KWayland::Server::XdgDecorationInterface *decoration); | ||||
145 | 147 | | |||
146 | bool isInitialPositionSet() const override; | 148 | bool isInitialPositionSet() const override; | ||
147 | 149 | | |||
148 | bool isTransient() const override; | 150 | bool isTransient() const override; | ||
149 | bool hasTransientPlacementHint() const override; | 151 | bool hasTransientPlacementHint() const override; | ||
150 | QRect transientPlacement(const QRect &bounds) const override; | 152 | QRect transientPlacement(const QRect &bounds) const override; | ||
151 | 153 | | |||
152 | QMatrix4x4 inputTransformation() const override; | 154 | QMatrix4x4 inputTransformation() const override; | ||
▲ Show 20 Lines • Show All 99 Lines • ▼ Show 20 Line(s) | 197 | private: | |||
252 | bool m_unmapped = true; | 254 | bool m_unmapped = true; | ||
253 | QRect m_geomMaximizeRestore; // size and position of the window before it was set to maximize | 255 | QRect m_geomMaximizeRestore; // size and position of the window before it was set to maximize | ||
254 | NET::WindowType m_windowType = NET::Normal; | 256 | NET::WindowType m_windowType = NET::Normal; | ||
255 | QPointer<KWayland::Server::PlasmaShellSurfaceInterface> m_plasmaShellSurface; | 257 | QPointer<KWayland::Server::PlasmaShellSurfaceInterface> m_plasmaShellSurface; | ||
256 | QPointer<KWayland::Server::QtExtendedSurfaceInterface> m_qtExtendedSurface; | 258 | QPointer<KWayland::Server::QtExtendedSurfaceInterface> m_qtExtendedSurface; | ||
257 | QPointer<KWayland::Server::AppMenuInterface> m_appMenuInterface; | 259 | QPointer<KWayland::Server::AppMenuInterface> m_appMenuInterface; | ||
258 | QPointer<KWayland::Server::ServerSideDecorationPaletteInterface> m_paletteInterface; | 260 | QPointer<KWayland::Server::ServerSideDecorationPaletteInterface> m_paletteInterface; | ||
259 | KWayland::Server::ServerSideDecorationInterface *m_serverDecoration = nullptr; | 261 | KWayland::Server::ServerSideDecorationInterface *m_serverDecoration = nullptr; | ||
262 | KWayland::Server::XdgDecorationInterface *m_xdgDecoration = nullptr; | ||||
260 | bool m_userNoBorder = false; | 263 | bool m_userNoBorder = false; | ||
261 | bool m_fullScreen = false; | 264 | bool m_fullScreen = false; | ||
262 | bool m_transient = false; | 265 | bool m_transient = false; | ||
263 | bool m_hidden = false; | 266 | bool m_hidden = false; | ||
264 | bool m_internal; | 267 | bool m_internal; | ||
265 | bool m_hasPopupGrab = false; | 268 | bool m_hasPopupGrab = false; | ||
266 | qreal m_opacity = 1.0; | 269 | qreal m_opacity = 1.0; | ||
267 | 270 | | |||
Show All 36 Lines |