Changeset View
Changeset View
Standalone View
Standalone View
xdgshellclient.h
Show First 20 Lines • Show All 115 Lines • ▼ Show 20 Line(s) | 56 | public: | |||
---|---|---|---|---|---|
116 | void showOnScreenEdge() override; | 116 | void showOnScreenEdge() override; | ||
117 | bool hasPopupGrab() const override; | 117 | bool hasPopupGrab() const override; | ||
118 | void popupDone() override; | 118 | void popupDone() override; | ||
119 | void updateColorScheme() override; | 119 | void updateColorScheme() override; | ||
120 | bool isPopupWindow() const override; | 120 | bool isPopupWindow() const override; | ||
121 | void killWindow() override; | 121 | void killWindow() override; | ||
122 | bool isLocalhost() const override; | 122 | bool isLocalhost() const override; | ||
123 | bool supportsWindowRules() const override; | 123 | bool supportsWindowRules() const override; | ||
124 | void destroyClient() override; | ||||
124 | 125 | | |||
125 | void installPlasmaShellSurface(KWayland::Server::PlasmaShellSurfaceInterface *surface); | 126 | void installPlasmaShellSurface(KWayland::Server::PlasmaShellSurfaceInterface *surface); | ||
126 | void installServerSideDecoration(KWayland::Server::ServerSideDecorationInterface *decoration); | 127 | void installServerSideDecoration(KWayland::Server::ServerSideDecorationInterface *decoration); | ||
127 | void installAppMenu(KWayland::Server::AppMenuInterface *appmenu); | 128 | void installAppMenu(KWayland::Server::AppMenuInterface *appmenu); | ||
128 | void installPalette(KWayland::Server::ServerSideDecorationPaletteInterface *palette); | 129 | void installPalette(KWayland::Server::ServerSideDecorationPaletteInterface *palette); | ||
129 | void installXdgDecoration(KWayland::Server::XdgDecorationInterface *decoration); | 130 | void installXdgDecoration(KWayland::Server::XdgDecorationInterface *decoration); | ||
130 | 131 | | |||
131 | protected: | 132 | protected: | ||
Show All 33 Lines | 163 | private: | |||
165 | */ | 166 | */ | ||
166 | void init(); | 167 | void init(); | ||
167 | /** | 168 | /** | ||
168 | * Called for the XDG case when the shell surface is committed to the surface. | 169 | * Called for the XDG case when the shell surface is committed to the surface. | ||
169 | * At this point all initial properties should have been set by the client. | 170 | * At this point all initial properties should have been set by the client. | ||
170 | */ | 171 | */ | ||
171 | void finishInit(); | 172 | void finishInit(); | ||
172 | void createDecoration(const QRect &oldgeom); | 173 | void createDecoration(const QRect &oldgeom); | ||
173 | void destroyClient(); | | |||
174 | void createWindowId(); | 174 | void createWindowId(); | ||
175 | void updateIcon(); | 175 | void updateIcon(); | ||
176 | bool shouldExposeToWindowManagement(); | 176 | bool shouldExposeToWindowManagement(); | ||
177 | void updateClientOutputs(); | 177 | void updateClientOutputs(); | ||
178 | KWayland::Server::XdgShellSurfaceInterface::States xdgSurfaceStates() const; | 178 | KWayland::Server::XdgShellSurfaceInterface::States xdgSurfaceStates() const; | ||
179 | void updateShowOnScreenEdge(); | 179 | void updateShowOnScreenEdge(); | ||
180 | void updateMaximizeMode(MaximizeMode maximizeMode); | 180 | void updateMaximizeMode(MaximizeMode maximizeMode); | ||
181 | // called on surface commit and processes all m_pendingConfigureRequests up to m_lastAckedConfigureReqest | 181 | // called on surface commit and processes all m_pendingConfigureRequests up to m_lastAckedConfigureReqest | ||
▲ Show 20 Lines • Show All 89 Lines • Show Last 20 Lines |