summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKimmo Hämäläinen <kimmo.hamalainen@nokia.com>2010-12-21 11:40:12 +0200
committerAdam Endrodi <ext-adam.endrodi@nokia.com>2010-12-21 12:47:30 +0200
commitdd4bbe0d0e29dc52de2517cc8f48554f0f4d9c6f (patch)
tree1e439a6b391e6c8866edcee495c5e621985703a4
parent14ee1671bbeac1f433c2adcef31e61c7b07c8a3c (diff)
Fixes: NB#213779 - Compositor doesn't send synthetic VisibilityUnobscured to Status Indicator Menu
- mark unmapped windows obscured so that we send unobscured if it's remapped
-rw-r--r--src/mcompositemanager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mcompositemanager.cpp b/src/mcompositemanager.cpp
index a82b03e..7bb16ef 100644
--- a/src/mcompositemanager.cpp
+++ b/src/mcompositemanager.cpp
@@ -1206,6 +1206,8 @@ void MCompositeManagerPrivate::unmapEvent(XUnmapEvent *e)
MCompositeWindow *item = COMPOSITE_WINDOW(e->window);
if (item) {
+ // mark obscured so that we send unobscured if it's remapped
+ item->setWindowObscured(true, true);
item->closeWindowAnimation();
item->stopPing();
item->setIsMapped(false);