summaryrefslogtreecommitdiff
path: root/plugins/switcher
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@compiz-fusion.org>2009-03-29 20:47:30 +0200
committerDennis kasprzyk <onestone@compiz-fusion.org>2009-03-29 20:47:30 +0200
commit3c89d1b0dba7cdd195b10f2c037b8d765ac57104 (patch)
treec81484c938b112d56b8255ccef516728afd5471e /plugins/switcher
parent79d38d1a8e161ae363c4b74580ac2f0afb9271f8 (diff)
downloadcompiz-with-glib-mainloop-3c89d1b0dba7cdd195b10f2c037b8d765ac57104.tar.gz
compiz-with-glib-mainloop-3c89d1b0dba7cdd195b10f2c037b8d765ac57104.tar.bz2
Handle cases correctly where a window should be unmapped but isn't because a plugin increased its unmapReference.
Diffstat (limited to 'plugins/switcher')
-rw-r--r--plugins/switcher/src/switcher.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/switcher/src/switcher.cpp b/plugins/switcher/src/switcher.cpp
index 647c879..ebef5cd 100644
--- a/plugins/switcher/src/switcher.cpp
+++ b/plugins/switcher/src/switcher.cpp
@@ -62,7 +62,7 @@ SwitchScreen::setSelectedWindowHint ()
bool
SwitchWindow::isSwitchWin ()
{
- if (!window->isViewable ())
+ if (!window->isViewable () || !window->isMapped ())
{
if (sScreen->optionGetMinimized ())
{