Changeset View
Changeset View
Standalone View
Standalone View
shell_client.h
Show First 20 Lines • Show All 209 Lines • ▼ Show 20 Line(s) | 190 | private: | |||
---|---|---|---|---|---|
210 | void updateMaximizeMode(MaximizeMode maximizeMode); | 210 | void updateMaximizeMode(MaximizeMode maximizeMode); | ||
211 | // called on surface commit and processes all m_pendingConfigureRequests up to m_lastAckedConfigureReqest | 211 | // called on surface commit and processes all m_pendingConfigureRequests up to m_lastAckedConfigureReqest | ||
212 | void updatePendingGeometry(); | 212 | void updatePendingGeometry(); | ||
213 | static void deleteClient(ShellClient *c); | 213 | static void deleteClient(ShellClient *c); | ||
214 | 214 | | |||
215 | KWayland::Server::ShellSurfaceInterface *m_shellSurface; | 215 | KWayland::Server::ShellSurfaceInterface *m_shellSurface; | ||
216 | KWayland::Server::XdgShellSurfaceInterface *m_xdgShellSurface; | 216 | KWayland::Server::XdgShellSurfaceInterface *m_xdgShellSurface; | ||
217 | KWayland::Server::XdgShellPopupInterface *m_xdgShellPopup; | 217 | KWayland::Server::XdgShellPopupInterface *m_xdgShellPopup; | ||
218 | | ||||
219 | // size of the last buffer | ||||
218 | QSize m_clientSize; | 220 | QSize m_clientSize; | ||
221 | // last size we requested or empty if we haven't sent an explicit request to the client | ||||
zzag: The last sentence is hard to understand. | |||||
222 | // if empty the client should choose their own default size | ||||
223 | QSize m_requestedClientSize; | ||||
219 | 224 | | |||
220 | struct PendingConfigureRequest { | 225 | struct PendingConfigureRequest { | ||
221 | //note for wl_shell we have no serial, so serialId and m_lastAckedConfigureRequest will always be 0 | 226 | //note for wl_shell we have no serial, so serialId and m_lastAckedConfigureRequest will always be 0 | ||
222 | //meaning we treat a surface commit as having processed all requests | 227 | //meaning we treat a surface commit as having processed all requests | ||
223 | quint32 serialId = 0; | 228 | quint32 serialId = 0; | ||
224 | // position to apply after a resize operation has been completed | 229 | // position to apply after a resize operation has been completed | ||
225 | QPoint positionAfterResize; | 230 | QPoint positionAfterResize; | ||
226 | MaximizeMode maximizeMode; | 231 | MaximizeMode maximizeMode; | ||
▲ Show 20 Lines • Show All 66 Lines • Show Last 20 Lines |
The last sentence is hard to understand.