Changeset View
Changeset View
Standalone View
Standalone View
geometry.cpp
Show First 20 Lines • Show All 2136 Lines • ▼ Show 20 Line(s) | 2132 | if (m_pendingGeometryUpdate != PendingGeometryNone) { | |||
---|---|---|---|---|---|
2137 | m_pendingGeometryUpdate = PendingGeometryNone; | 2137 | m_pendingGeometryUpdate = PendingGeometryNone; | ||
2138 | } | 2138 | } | ||
2139 | } | 2139 | } | ||
2140 | } | 2140 | } | ||
2141 | } | 2141 | } | ||
2142 | 2142 | | |||
2143 | void AbstractClient::maximize(MaximizeMode m) | 2143 | void AbstractClient::maximize(MaximizeMode m) | ||
2144 | { | 2144 | { | ||
2145 | if (m == maximizeMode()) { | | |||
2146 | return; | | |||
2147 | } | | |||
2148 | setMaximize(m & MaximizeVertical, m & MaximizeHorizontal); | 2145 | setMaximize(m & MaximizeVertical, m & MaximizeHorizontal); | ||
2149 | } | 2146 | } | ||
2150 | 2147 | | |||
2151 | void AbstractClient::setMaximize(bool vertically, bool horizontally) | 2148 | void AbstractClient::setMaximize(bool vertically, bool horizontally) | ||
2152 | { | 2149 | { | ||
2153 | // changeMaximize() flips the state, so change from set->flip | 2150 | // changeMaximize() flips the state, so change from set->flip | ||
2154 | const MaximizeMode oldMode = maximizeMode(); | 2151 | const MaximizeMode oldMode = maximizeMode(); | ||
2155 | changeMaximize( | 2152 | changeMaximize( | ||
▲ Show 20 Lines • Show All 1329 Lines • Show Last 20 Lines |