Remove some manual repaints in X11Client
Let the scene schedule a repaint instead.
This commit is contained in:
parent
29235e122d
commit
d755e74c29
1 changed files with 0 additions and 4 deletions
|
@ -274,8 +274,6 @@ void X11Client::releaseWindow(bool on_shutdown)
|
|||
leaveInteractiveMoveResize();
|
||||
finishWindowRules();
|
||||
blockGeometryUpdates();
|
||||
if (isOnCurrentDesktop() && isShown(true))
|
||||
addWorkspaceRepaint(visibleGeometry());
|
||||
// Grab X during the release to make removing of properties, setting to withdrawn state
|
||||
// and repareting to root an atomic operation (https://lists.kde.org/?l=kde-devel&m=116448102901184&w=2)
|
||||
grabXServer();
|
||||
|
@ -338,8 +336,6 @@ void X11Client::destroyClient()
|
|||
leaveInteractiveMoveResize();
|
||||
finishWindowRules();
|
||||
blockGeometryUpdates();
|
||||
if (isOnCurrentDesktop() && isShown(true))
|
||||
addWorkspaceRepaint(visibleGeometry());
|
||||
setModal(false);
|
||||
hidden = true; // So that it's not considered visible anymore
|
||||
workspace()->clientHidden(this);
|
||||
|
|
Loading…
Reference in a new issue