Actually keep the expandedGeometry alive
... until the effects handled the deletion BUG: 318322 BUG: 320892 BUG: 344359 REVIEW: 126323 FIXED-IN: 5.6
This commit is contained in:
parent
f918bc3367
commit
87795eef2a
1 changed files with 1 additions and 1 deletions
|
@ -311,7 +311,6 @@ void Compositor::startupWithWorkspace()
|
||||||
}
|
}
|
||||||
Q_ASSERT(m_scene);
|
Q_ASSERT(m_scene);
|
||||||
claimCompositorSelection();
|
claimCompositorSelection();
|
||||||
connect(Workspace::self(), &Workspace::deletedRemoved, m_scene, &Scene::windowDeleted);
|
|
||||||
m_xrrRefreshRate = KWin::currentRefreshRate();
|
m_xrrRefreshRate = KWin::currentRefreshRate();
|
||||||
fpsInterval = options->maxFpsInterval();
|
fpsInterval = options->maxFpsInterval();
|
||||||
if (m_scene->syncsToVBlank()) { // if we do vsync, set the fps to the next multiple of the vblank rate
|
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();
|
scheduleRepaint();
|
||||||
xcb_composite_redirect_subwindows(connection(), rootWindow(), XCB_COMPOSITE_REDIRECT_MANUAL);
|
xcb_composite_redirect_subwindows(connection(), rootWindow(), XCB_COMPOSITE_REDIRECT_MANUAL);
|
||||||
new EffectsHandlerImpl(this, m_scene); // sets also the 'effects' pointer
|
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()));
|
connect(effects, SIGNAL(screenGeometryChanged(QSize)), SLOT(addRepaintFull()));
|
||||||
addRepaintFull();
|
addRepaintFull();
|
||||||
foreach (Client * c, Workspace::self()->clientList()) {
|
foreach (Client * c, Workspace::self()->clientList()) {
|
||||||
|
|
Loading…
Reference in a new issue