summaryrefslogtreecommitdiff
path: root/plugins/switcher
diff options
context:
space:
mode:
authorSam Spilsbury <smspillaz@gmail.com>2010-02-02 15:11:47 +0800
committerSam Spilsbury <smspillaz@gmail.com>2010-02-02 15:11:47 +0800
commitb27402c2460592bc3ed6c41c2b7d5cae47e79079 (patch)
treea7f6da693691e6c7e63c82ef1568349f46cdf558 /plugins/switcher
parent497411d3b0f67adfc788692e69684d7be11e1a41 (diff)
downloadcompiz-with-glib-mainloop-b27402c2460592bc3ed6c41c2b7d5cae47e79079.tar.gz
compiz-with-glib-mainloop-b27402c2460592bc3ed6c41c2b7d5cae47e79079.tar.bz2
Correctly reflect that the switcher window is managed.
Forward port of 46371f9172089a3e60648b834611d5694df2e80b to master
Diffstat (limited to 'plugins/switcher')
-rw-r--r--plugins/switcher/src/switcher.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/switcher/src/switcher.cpp b/plugins/switcher/src/switcher.cpp
index 90c5ce4..2b68206 100644
--- a/plugins/switcher/src/switcher.cpp
+++ b/plugins/switcher/src/switcher.cpp
@@ -305,7 +305,13 @@ SwitchScreen::initiate (SwitchWindowSelection selection,
if (w && (w->state () & CompWindowStateHiddenMask))
w->show ();
else
+ {
XMapWindow (screen->dpy (), popupWindow);
+ /* we don't get a MapRequest for internal window
+ creations, so we need to set the managed state
+ ourselves */
+ w->managed = TRUE;
+ }
setSelectedWindowHint ();
}