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