summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--showdesktop.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/showdesktop.c b/showdesktop.c
index 270e782..5fb4601 100644
--- a/showdesktop.c
+++ b/showdesktop.c
@@ -140,6 +140,9 @@ static int displayPrivateIndex;
static Bool
isSDWin (CompWindow *w)
{
+ if (w->grabbed)
+ return FALSE;
+
if (!(*w->screen->focusWindow) (w))
return FALSE;