summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-03-15 01:11:52 +0000
committerDana Jansens <danakj@orodu.net>2007-03-15 01:11:52 +0000
commit6772ec19fc5b3c4116c2b8d0aa8a6f0950d24d01 (patch)
treeb7dd717131c1695f3c9fe4318f8e74a8f5908929
parent34f5bbe4f6270000e8a47676343fc159ec731a20 (diff)
only refocus the omnipresent window if its allowed
-rw-r--r--openbox/focus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/focus.c b/openbox/focus.c
index 817640ff..f06a077e 100644
--- a/openbox/focus.c
+++ b/openbox/focus.c
@@ -234,7 +234,7 @@ ObClient* focus_fallback_target(gboolean allow_refocus, ObClient *old)
#endif
ob_debug("trying omnipresentness\n");
- if (old && old->desktop == DESKTOP_ALL)
+ if (allow_refocus && old && old->desktop == DESKTOP_ALL)
return old;