summaryrefslogtreecommitdiff
diff options
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2016-07-27 12:18:41 +0200
committerMarco Trevisan (Treviño) <mail@3v1n0.net>2016-07-27 12:18:41 +0200
commit54d47061083c8c31a7e01ff3a942edb751f62d4b (patch)
treee4fc58b7835bc017c11ecfec070930428290650d
parentf8a75224292ce989d7089e5f7cf0dbdf0b4334e2 (diff)
UnityWindow: undecorate it when about to be destroyed
(bzr r4067.8.12)
-rw-r--r--plugins/unityshell/src/unityshell.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/unityshell/src/unityshell.cpp b/plugins/unityshell/src/unityshell.cpp
index 2358b8ae0..5680916fb 100644
--- a/plugins/unityshell/src/unityshell.cpp
+++ b/plugins/unityshell/src/unityshell.cpp
@@ -3357,6 +3357,7 @@ void UnityWindow::windowNotify(CompWindowNotify n)
PluginAdapter::Default().UpdateShowDesktopState();
break;
case CompWindowNotifyBeforeDestroy:
+ deco_win_->Undecorate();
being_destroyed.emit();
break;
case CompWindowNotifyMinimize: