[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kwin] /: Actually keep the expandedGeometry alive
From:       Thomas_Lübking <thomas.luebking () gmail ! com>
Date:       2016-01-15 0:39:23
Message-ID: E1aJsQF-0000tv-DO () scm ! kde ! org
[Download RAW message or body]

Git commit 87795eef2a71d85680f797fe75404ca1a9a63a10 by Thomas Lübking.
Committed on 15/01/2016 at 00:37.
Pushed by luebking into branch 'master'.

Actually keep the expandedGeometry alive

... until the effects handled the deletion

BUG: 318322
BUG: 320892
BUG: 344359
REVIEW: 126323

FIXED-IN: 5.6

M  +1    -1    composite.cpp

http://commits.kde.org/kwin/87795eef2a71d85680f797fe75404ca1a9a63a10

diff --git a/composite.cpp b/composite.cpp
index aa0e4b7..b09decf 100644
--- a/composite.cpp
+++ b/composite.cpp
@@ -311,7 +311,6 @@ void Compositor::startupWithWorkspace()
     }
     Q_ASSERT(m_scene);
     claimCompositorSelection();
-    connect(Workspace::self(), &Workspace::deletedRemoved, m_scene, \
&Scene::windowDeleted);  m_xrrRefreshRate = KWin::currentRefreshRate();
     fpsInterval = options->maxFpsInterval();
     if (m_scene->syncsToVBlank()) {  // if we do vsync, set the fps to the next \
multiple of the vblank rate @@ -323,6 +322,7 @@ void \
Compositor::startupWithWorkspace()  scheduleRepaint();
     xcb_composite_redirect_subwindows(connection(), rootWindow(), \
                XCB_COMPOSITE_REDIRECT_MANUAL);
     new EffectsHandlerImpl(this, m_scene);   // sets also the 'effects' pointer
+    connect(Workspace::self(), &Workspace::deletedRemoved, m_scene, \
                &Scene::windowDeleted);
     connect(effects, SIGNAL(screenGeometryChanged(QSize)), SLOT(addRepaintFull()));
     addRepaintFull();
     foreach (Client * c, Workspace::self()->clientList()) {


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic