Do not unlist Unmanaged when released onShutdown
BUG: 303244 FIXED-IN: 4.9.2 REVIEW: 106382
This commit is contained in:
parent
cb265d96fc
commit
42ad299d88
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue