summaryrefslogtreecommitdiff
path: root/plugins/switcher
diff options
context:
space:
mode:
authorErkin Bahceci <erkinbah@gmail.com>2009-07-08 09:53:23 -0500
committerErkin Bahceci <erkinbah@gmail.com>2009-07-08 09:53:23 -0500
commit179f94a43e2316a3d69baf5768893505f8830027 (patch)
treeaeed3c31a2e94145c5cb2830ccbdc179d62fe790 /plugins/switcher
parent700b18bffb6924b484464093d999349c010c4595 (diff)
downloadcompiz-with-glib-mainloop-179f94a43e2316a3d69baf5768893505f8830027.tar.gz
compiz-with-glib-mainloop-179f94a43e2316a3d69baf5768893505f8830027.tar.bz2
Move hide/show to PrivateWindow, add wrapper hide/show.
The new hide/show are used by switcher, so that it doesn't call minimize/unminimize.
Diffstat (limited to 'plugins/switcher')
-rw-r--r--plugins/switcher/src/switcher.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/switcher/src/switcher.cpp b/plugins/switcher/src/switcher.cpp
index ebef5cd..6d0f866 100644
--- a/plugins/switcher/src/switcher.cpp
+++ b/plugins/switcher/src/switcher.cpp
@@ -483,7 +483,7 @@ SwitchScreen::initiate (SwitchWindowSelection selection,
w = screen->findWindow (popupWindow);
if (w && (w->state () & CompWindowStateHiddenMask))
- w->unminimize ();
+ w->show ();
else
XMapWindow (screen->dpy (), popupWindow);
@@ -542,7 +542,7 @@ switchTerminate (CompAction *action,
w = screen->findWindow (ss->popupWindow);
if (w && w->managed () && w->mapNum ())
{
- w->minimize ();
+ w->hide ();
}
else
{