summaryrefslogtreecommitdiff
path: root/plugins/switcher/src/switcher.cpp
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2009-03-16 10:18:16 +0100
committerDanny Baumann <dannybaumann@web.de>2009-03-16 10:18:16 +0100
commit59666304be35773fcb4c9c7eeef40695e6203c8c (patch)
tree658e5ab592b9e7ab4870b42973be34d66dafdf4c /plugins/switcher/src/switcher.cpp
parentd8971221a3d271d18879d625aaaf89cc0df9eb63 (diff)
downloadmobileperf-59666304be35773fcb4c9c7eeef40695e6203c8c.tar.gz
mobileperf-59666304be35773fcb4c9c7eeef40695e6203c8c.tar.bz2
Whitespace fixes.
Diffstat (limited to 'plugins/switcher/src/switcher.cpp')
-rw-r--r--plugins/switcher/src/switcher.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins/switcher/src/switcher.cpp b/plugins/switcher/src/switcher.cpp
index e645d40..647c879 100644
--- a/plugins/switcher/src/switcher.cpp
+++ b/plugins/switcher/src/switcher.cpp
@@ -481,16 +481,12 @@ SwitchScreen::initiate (SwitchWindowSelection selection,
{
CompWindow *w;
-
w = screen->findWindow (popupWindow);
if (w && (w->state () & CompWindowStateHiddenMask))
- {
w->unminimize ();
- }
else
- {
XMapWindow (screen->dpy (), popupWindow);
- }
+
setSelectedWindowHint ();
}
@@ -669,7 +665,7 @@ SwitchScreen::windowRemove (Window id)
it++;
if (it == windows.end ())
selected = windows.front ()->id ();
- else
+ else
selected = (*it)->id ();
it--;
}