Changeset View
Changeset View
Standalone View
Standalone View
xdgshellclient.h
Show First 20 Lines • Show All 188 Lines • ▼ Show 20 Line(s) | 164 | private: | |||
---|---|---|---|---|---|
189 | void markAsMapped(); | 189 | void markAsMapped(); | ||
190 | QRect determineBufferGeometry() const; | 190 | QRect determineBufferGeometry() const; | ||
191 | void ping(PingReason reason); | 191 | void ping(PingReason reason); | ||
192 | static void deleteClient(XdgShellClient *c); | 192 | static void deleteClient(XdgShellClient *c); | ||
193 | 193 | | |||
194 | QRect adjustMoveGeometry(const QRect &rect) const; | 194 | QRect adjustMoveGeometry(const QRect &rect) const; | ||
195 | QRect adjustResizeGeometry(const QRect &rect) const; | 195 | QRect adjustResizeGeometry(const QRect &rect) const; | ||
196 | 196 | | |||
197 | KWayland::Server::XdgShellSurfaceInterface *m_xdgShellSurface; | 197 | KWayland::Server::XdgShellSurfaceInterface *m_xdgShellToplevel; | ||
198 | KWayland::Server::XdgShellPopupInterface *m_xdgShellPopup; | 198 | KWayland::Server::XdgShellPopupInterface *m_xdgShellPopup; | ||
199 | 199 | | |||
200 | QRect m_bufferGeometry; | 200 | QRect m_bufferGeometry; | ||
201 | QRect m_windowGeometry; | 201 | QRect m_windowGeometry; | ||
202 | bool m_hasWindowGeometry = false; | 202 | bool m_hasWindowGeometry = false; | ||
203 | 203 | | |||
204 | // last size we requested or empty if we haven't sent an explicit request to the client | 204 | // last size we requested or empty if we haven't sent an explicit request to the client | ||
205 | // if empty the client should choose their own default size | 205 | // if empty the client should choose their own default size | ||
▲ Show 20 Lines • Show All 68 Lines • Show Last 20 Lines |