Changeset View
Changeset View
Standalone View
Standalone View
client.cpp
Show First 20 Lines • Show All 1579 Lines • ▼ Show 20 Line(s) | 1579 | if (group && group->remove(this)) { // remove sets the tabgroup to "0", therefore the pointer is cached | |||
---|---|---|---|---|---|
1580 | if (group->isEmpty()) { | 1580 | if (group->isEmpty()) { | ||
1581 | delete group; | 1581 | delete group; | ||
1582 | } | 1582 | } | ||
1583 | if (clientRemoved) | 1583 | if (clientRemoved) | ||
1584 | return true; // there's been a broadcast signal that this client is now removed - don't touch it | 1584 | return true; // there's been a broadcast signal that this client is now removed - don't touch it | ||
1585 | setClientShown(!(isMinimized() || isShade())); | 1585 | setClientShown(!(isMinimized() || isShade())); | ||
1586 | bool keepSize = toGeometry.size() == size(); | 1586 | bool keepSize = toGeometry.size() == size(); | ||
1587 | bool changedSize = false; | 1587 | bool changedSize = false; | ||
1588 | if (quickTileMode() != QuickTileNone) { | 1588 | if (quickTileMode() != QuickTileMode(QuickTileFlag::None)) { | ||
1589 | changedSize = true; | 1589 | changedSize = true; | ||
1590 | setQuickTileMode(QuickTileNone); // if we leave a quicktiled group, assume that the user wants to untile | 1590 | setQuickTileMode(QuickTileFlag::None); // if we leave a quicktiled group, assume that the user wants to untile | ||
1591 | } | 1591 | } | ||
1592 | if (toGeometry.isValid()) { | 1592 | if (toGeometry.isValid()) { | ||
1593 | if (maximizeMode() != MaximizeRestore) { | 1593 | if (maximizeMode() != MaximizeRestore) { | ||
1594 | changedSize = true; | 1594 | changedSize = true; | ||
1595 | maximize(MaximizeRestore); // explicitly calling for a geometry -> unmaximize | 1595 | maximize(MaximizeRestore); // explicitly calling for a geometry -> unmaximize | ||
1596 | } | 1596 | } | ||
1597 | if (keepSize && changedSize) { | 1597 | if (keepSize && changedSize) { | ||
1598 | geom_restore = geometry(); // checkWorkspacePosition() invokes it | 1598 | geom_restore = geometry(); // checkWorkspacePosition() invokes it | ||
▲ Show 20 Lines • Show All 599 Lines • Show Last 20 Lines |