Changeset View
Changeset View
Standalone View
Standalone View
abstract_client.cpp
Show First 20 Lines • Show All 1300 Lines • ▼ Show 20 Line(s) | |||||
1301 | void AbstractClient::addRepaintDuringGeometryUpdates() | 1301 | void AbstractClient::addRepaintDuringGeometryUpdates() | ||
1302 | { | 1302 | { | ||
1303 | const QRect deco_rect = visibleRect(); | 1303 | const QRect deco_rect = visibleRect(); | ||
1304 | addLayerRepaint(m_visibleRectBeforeGeometryUpdate); | 1304 | addLayerRepaint(m_visibleRectBeforeGeometryUpdate); | ||
1305 | addLayerRepaint(deco_rect); // trigger repaint of window's new location | 1305 | addLayerRepaint(deco_rect); // trigger repaint of window's new location | ||
1306 | m_visibleRectBeforeGeometryUpdate = deco_rect; | 1306 | m_visibleRectBeforeGeometryUpdate = deco_rect; | ||
1307 | } | 1307 | } | ||
1308 | 1308 | | |||
1309 | QRect AbstractClient::bufferGeometryBeforeUpdateBlocking() const | ||||
1310 | { | ||||
1311 | return m_bufferGeometryBeforeUpdateBlocking; | ||||
1312 | } | ||||
1313 | | ||||
1309 | QRect AbstractClient::frameGeometryBeforeUpdateBlocking() const | 1314 | QRect AbstractClient::frameGeometryBeforeUpdateBlocking() const | ||
1310 | { | 1315 | { | ||
1311 | return m_frameGeometryBeforeUpdateBlocking; | 1316 | return m_frameGeometryBeforeUpdateBlocking; | ||
1312 | } | 1317 | } | ||
1313 | 1318 | | |||
1314 | void AbstractClient::updateGeometryBeforeUpdateBlocking() | 1319 | void AbstractClient::updateGeometryBeforeUpdateBlocking() | ||
1315 | { | 1320 | { | ||
1321 | m_bufferGeometryBeforeUpdateBlocking = bufferGeometry(); | ||||
1316 | m_frameGeometryBeforeUpdateBlocking = frameGeometry(); | 1322 | m_frameGeometryBeforeUpdateBlocking = frameGeometry(); | ||
1317 | } | 1323 | } | ||
1318 | 1324 | | |||
1319 | void AbstractClient::doMove(int, int) | 1325 | void AbstractClient::doMove(int, int) | ||
1320 | { | 1326 | { | ||
1321 | } | 1327 | } | ||
1322 | 1328 | | |||
1323 | void AbstractClient::updateInitialMoveResizeGeometry() | 1329 | void AbstractClient::updateInitialMoveResizeGeometry() | ||
▲ Show 20 Lines • Show All 683 Lines • Show Last 20 Lines |