Changeset View
Changeset View
Standalone View
Standalone View
xdgshellclient.h
Show First 20 Lines • Show All 183 Lines • ▼ Show 20 Line(s) | 163 | private: | |||
---|---|---|---|---|---|
184 | QPoint popupOffset(const QRect &anchorRect, const Qt::Edges anchorEdge, const Qt::Edges gravity, const QSize popupSize) const; | 184 | QPoint popupOffset(const QRect &anchorRect, const Qt::Edges anchorEdge, const Qt::Edges gravity, const QSize popupSize) const; | ||
185 | void requestGeometry(const QRect &rect); | 185 | void requestGeometry(const QRect &rect); | ||
186 | void doSetGeometry(const QRect &rect); | 186 | void doSetGeometry(const QRect &rect); | ||
187 | void unmap(); | 187 | void unmap(); | ||
188 | void markAsMapped(); | 188 | void markAsMapped(); | ||
189 | QRect determineBufferGeometry() const; | 189 | QRect determineBufferGeometry() const; | ||
190 | static void deleteClient(XdgShellClient *c); | 190 | static void deleteClient(XdgShellClient *c); | ||
191 | 191 | | |||
192 | QRect adjustMoveGeometry(const QRect &rect) const; | ||||
193 | QRect adjustResizeGeometry(const QRect &rect) const; | ||||
194 | | ||||
192 | KWayland::Server::XdgShellSurfaceInterface *m_xdgShellSurface; | 195 | KWayland::Server::XdgShellSurfaceInterface *m_xdgShellSurface; | ||
193 | KWayland::Server::XdgShellPopupInterface *m_xdgShellPopup; | 196 | KWayland::Server::XdgShellPopupInterface *m_xdgShellPopup; | ||
194 | 197 | | |||
195 | QRect m_bufferGeometry; | 198 | QRect m_bufferGeometry; | ||
196 | QRect m_windowGeometry; | 199 | QRect m_windowGeometry; | ||
197 | bool m_hasWindowGeometry = false; | 200 | bool m_hasWindowGeometry = false; | ||
198 | 201 | | |||
199 | // last size we requested or empty if we haven't sent an explicit request to the client | 202 | // last size we requested or empty if we haven't sent an explicit request to the client | ||
▲ Show 20 Lines • Show All 69 Lines • Show Last 20 Lines |