summaryrefslogtreecommitdiff
path: root/plugins
diff options
authorMarco Trevisan (TreviƱo) <mail@3v1n0.net>2016-07-27 10:24:41 +0000
committerBileto Bot <ci-train-bot@canonical.com>2016-07-27 10:24:41 +0000
commit025b66845e076c47a219dea6664dc9d59bca1658 (patch)
treeba1a1e29f9352793a083291215707d09031a5a13 /plugins
parent3efb1cdc5be7c61cbd53a478db3c0aa471c6558c (diff)
parent54d47061083c8c31a7e01ff3a942edb751f62d4b (diff)
DecoratedWindow: Cleanup shadows for shaped windows, reduce recomputation
Approved by: Andrea Azzarone (bzr r4162)
Diffstat (limited to 'plugins')
-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 7a18dc471..4c1faab10 100644
--- a/plugins/unityshell/src/unityshell.cpp
+++ b/plugins/unityshell/src/unityshell.cpp
@@ -3360,6 +3360,7 @@ void UnityWindow::windowNotify(CompWindowNotify n)
PluginAdapter::Default().UpdateShowDesktopState();
break;
case CompWindowNotifyBeforeDestroy:
+ deco_win_->Undecorate();
being_destroyed.emit();
break;
case CompWindowNotifyMinimize: