Merge lp:~azzar1/unity/redraw-fake-deco-on-resize into lp:unity

Proposed by Andrea Azzarone
Status: Merged
Approved by: Marco Trevisan (Treviño)
Approved revision: no longer in the source branch.
Merged at revision: 4181
Proposed branch: lp:~azzar1/unity/redraw-fake-deco-on-resize
Merge into: lp:unity
Diff against target: 11 lines (+1/-0)
1 file modified
plugins/unityshell/src/unityshell.cpp (+1/-0)
To merge this branch: bzr merge lp:~azzar1/unity/redraw-fake-deco-on-resize
Reviewer Review Type Date Requested Status
Marco Trevisan (Treviño) Approve
Review via email: mp+303530@code.launchpad.net

Commit message

Redraw fake decorations on window resize.

To post a comment you must log in.
Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

Thanks

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'plugins/unityshell/src/unityshell.cpp'
2--- plugins/unityshell/src/unityshell.cpp 2016-08-17 14:02:12 +0000
3+++ plugins/unityshell/src/unityshell.cpp 2016-08-22 09:47:24 +0000
4@@ -3473,6 +3473,7 @@
5 void UnityWindow::resizeNotify(int x, int y, int w, int h)
6 {
7 deco_win_->UpdateDecorationPositionDelayed();
8+ CleanupCachedTextures();
9 PluginAdapter::Default().NotifyResized(window, x, y, w, h);
10 window->resizeNotify(x, y, w, h);
11 }