summaryrefslogtreecommitdiff
path: root/plugins/switcher
diff options
context:
space:
mode:
authorSam Spilsbury <smspillaz@gmail.com>2010-02-02 17:09:35 +0800
committerSam Spilsbury <smspillaz@gmail.com>2010-02-02 17:09:35 +0800
commit5d4543c90bbc816cdc3c1e54e1e23d4f44f98e7a (patch)
tree8e662b04c2d8c8a257e03f7aaa02ed20d98e3243 /plugins/switcher
parent4fcd5599ad785d18e3336c3966c96110c9738769 (diff)
downloadcompiz-with-glib-mainloop-5d4543c90bbc816cdc3c1e54e1e23d4f44f98e7a.tar.gz
compiz-with-glib-mainloop-5d4543c90bbc816cdc3c1e54e1e23d4f44f98e7a.tar.bz2
Revert "Correctly reflect that the switcher window is managed."
This reverts commit b27402c2460592bc3ed6c41c2b7d5cae47e79079. We should not allow plugins to directly write to w->managed, some core event should be used to set managed and recalculate the window state.
Diffstat (limited to 'plugins/switcher')
-rw-r--r--plugins/switcher/src/switcher.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/plugins/switcher/src/switcher.cpp b/plugins/switcher/src/switcher.cpp
index 2b68206..90c5ce4 100644
--- a/plugins/switcher/src/switcher.cpp
+++ b/plugins/switcher/src/switcher.cpp
@@ -305,13 +305,7 @@ 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 ();
}