Changeset View
Changeset View
Standalone View
Standalone View
shell_client.cpp
Show First 20 Lines • Show All 382 Lines • ▼ Show 20 Line(s) | 373 | void ShellClient::finishInit() { | |||
---|---|---|---|---|---|
383 | if (m_requestGeometryBlockCounter == 0) { | 383 | if (m_requestGeometryBlockCounter == 0) { | ||
384 | requestGeometry(m_blockedRequestGeometry); | 384 | requestGeometry(m_blockedRequestGeometry); | ||
385 | } | 385 | } | ||
386 | } | 386 | } | ||
387 | 387 | | |||
388 | void ShellClient::destroyClient() | 388 | void ShellClient::destroyClient() | ||
389 | { | 389 | { | ||
390 | m_closing = true; | 390 | m_closing = true; | ||
391 | if (isMoveResize()) { | ||||
392 | leaveMoveResize(); | ||||
393 | } | ||||
391 | Deleted *del = nullptr; | 394 | Deleted *del = nullptr; | ||
392 | if (workspace()) { | 395 | if (workspace()) { | ||
393 | del = Deleted::create(this); | 396 | del = Deleted::create(this); | ||
394 | } | 397 | } | ||
395 | emit windowClosed(this, del); | 398 | emit windowClosed(this, del); | ||
396 | destroyWindowManagementInterface(); | 399 | destroyWindowManagementInterface(); | ||
397 | destroyDecoration(); | 400 | destroyDecoration(); | ||
398 | 401 | | |||
▲ Show 20 Lines • Show All 786 Lines • ▼ Show 20 Line(s) | 1175 | { | |||
1185 | if (m_xdgShellSurface) { | 1188 | if (m_xdgShellSurface) { | ||
1186 | m_xdgShellSurface->configure(xdgSurfaceStates(), QSize(w, h)); | 1189 | m_xdgShellSurface->configure(xdgSurfaceStates(), QSize(w, h)); | ||
1187 | } | 1190 | } | ||
1188 | } | 1191 | } | ||
1189 | 1192 | | |||
1190 | void ShellClient::unmap() | 1193 | void ShellClient::unmap() | ||
1191 | { | 1194 | { | ||
1192 | m_unmapped = true; | 1195 | m_unmapped = true; | ||
1196 | if (isMoveResize()) { | ||||
1197 | leaveMoveResize(); | ||||
1198 | } | ||||
1193 | m_requestedClientSize = QSize(0, 0); | 1199 | m_requestedClientSize = QSize(0, 0); | ||
1194 | destroyWindowManagementInterface(); | 1200 | destroyWindowManagementInterface(); | ||
1195 | if (Workspace::self()) { | 1201 | if (Workspace::self()) { | ||
1196 | addWorkspaceRepaint(visibleRect()); | 1202 | addWorkspaceRepaint(visibleRect()); | ||
1197 | workspace()->clientHidden(this); | 1203 | workspace()->clientHidden(this); | ||
1198 | } | 1204 | } | ||
1199 | emit windowHidden(this); | 1205 | emit windowHidden(this); | ||
1200 | } | 1206 | } | ||
▲ Show 20 Lines • Show All 676 Lines • Show Last 20 Lines |