summaryrefslogtreecommitdiff
path: root/plugins/unityshell
diff options
authorAndrea Azzarone <azzaronea@gmail.com>2016-09-01 23:56:16 +0000
committerBileto Bot <ci-train-bot@canonical.com>2016-09-01 23:56:16 +0000
commit16db9de3a5120192be79b5ada3df45ebfe65b323 (patch)
treedbf751bbccf602546e9fc0ffdc3be15fa55198a6 /plugins/unityshell
parentb674318b204dec9f149a844f1ee73f95f66a9044 (diff)
parent2b2794c658c51be13264394e50b9744a08a7d815 (diff)
Redraw fake decorations on window resize. (LP: #940470)
Approved by: Marco Trevisan (TreviƱo) (bzr r4181)
Diffstat (limited to 'plugins/unityshell')
-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 9f34cd03a..ca920df0c 100644
--- a/plugins/unityshell/src/unityshell.cpp
+++ b/plugins/unityshell/src/unityshell.cpp
@@ -3473,6 +3473,7 @@ void UnityWindow::moveNotify(int x, int y, bool immediate)
void UnityWindow::resizeNotify(int x, int y, int w, int h)
{
deco_win_->UpdateDecorationPositionDelayed();
+ CleanupCachedTextures();
PluginAdapter::Default().NotifyResized(window, x, y, w, h);
window->resizeNotify(x, y, w, h);
}