From 42ad299d8802df5bc2585763d61a836397ce2c43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=BCbking?= Date: Fri, 14 Sep 2012 16:10:04 +0200 Subject: [PATCH] Do not unlist Unmanaged when released onShutdown BUG: 303244 FIXED-IN: 4.9.2 REVIEW: 106382 --- unmanaged.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unmanaged.cpp b/unmanaged.cpp index e79004e719..10477bee67 100644 --- a/unmanaged.cpp +++ b/unmanaged.cpp @@ -88,13 +88,13 @@ void Unmanaged::release(bool on_shutdown) } emit windowClosed(this, del); finishCompositing(); - workspace()->removeUnmanaged(this, Allowed); if (!QWidget::find(window())) { // don't affect our own windows if (Extensions::shapeAvailable()) XShapeSelectInput(display(), window(), NoEventMask); XSelectInput(display(), window(), NoEventMask); } if (!on_shutdown) { + workspace()->removeUnmanaged(this, Allowed); addWorkspaceRepaint(del->visibleRect()); disownDataPassedToDeleted(); del->unrefWindow();