diff options
author | Danny Baumann <dannybaumann@web.de> | 2009-03-16 10:18:16 +0100 |
---|---|---|
committer | Danny Baumann <dannybaumann@web.de> | 2009-03-16 10:18:16 +0100 |
commit | 59666304be35773fcb4c9c7eeef40695e6203c8c (patch) | |
tree | 658e5ab592b9e7ab4870b42973be34d66dafdf4c /plugins/switcher/src | |
parent | d8971221a3d271d18879d625aaaf89cc0df9eb63 (diff) | |
download | mobileperf-59666304be35773fcb4c9c7eeef40695e6203c8c.tar.gz mobileperf-59666304be35773fcb4c9c7eeef40695e6203c8c.tar.bz2 |
Whitespace fixes.
Diffstat (limited to 'plugins/switcher/src')
-rw-r--r-- | plugins/switcher/src/switcher.cpp | 8 | ||||
-rw-r--r-- | plugins/switcher/src/switcher.h | 1 |
2 files changed, 2 insertions, 7 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--; } diff --git a/plugins/switcher/src/switcher.h b/plugins/switcher/src/switcher.h index cb895a4..f9a53e6 100644 --- a/plugins/switcher/src/switcher.h +++ b/plugins/switcher/src/switcher.h @@ -60,7 +60,6 @@ class SwitchScreen : public SwitcherOptions { public: - SwitchScreen (CompScreen *screen); ~SwitchScreen (); |