diff options
| author | Andrea Azzarone <azzaronea@gmail.com> | 2016-08-19 13:14:47 +0000 |
|---|---|---|
| committer | Bileto Bot <ci-train-bot@canonical.com> | 2016-08-19 13:14:47 +0000 |
| commit | d6cbf552c46066a44e99493d48c1d160b3f598f3 (patch) | |
| tree | 87b2d0a2f0ef05b4c6cf92da575328d552211d24 /unity-shared | |
| parent | bc6914483406cded2df685497fbab8b7ebeb58be (diff) | |
| parent | d335b6806f73d3ef105d6cd3982dd5235e734434 (diff) | |
Use compiz::Window::serverNext instead of compiz::Window::next in IsWindowObscured as the latter can be outdated just after scale/spread terminates. (LP: #1614116)
Approved by: Marco Trevisan (TreviƱo) (bzr r4178)
Diffstat (limited to 'unity-shared')
| -rw-r--r-- | unity-shared/PluginAdapter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unity-shared/PluginAdapter.cpp b/unity-shared/PluginAdapter.cpp index e439ca332..324bf54b1 100644 --- a/unity-shared/PluginAdapter.cpp +++ b/unity-shared/PluginAdapter.cpp @@ -608,7 +608,7 @@ bool PluginAdapter::IsWindowObscured(Window window_id) const CompPoint window_vp = window->defaultViewport(); // Check if any windows above this one are blocking it - for (CompWindow* sibling = window->next; sibling != NULL; sibling = sibling->next) + for (CompWindow* sibling = window->serverNext; sibling != NULL; sibling = sibling->serverNext) { if (sibling->defaultViewport() == window_vp && !sibling->minimized() |
