]> Dogcows Code - chaz/openbox/commitdiff
only refocus the omnipresent window if its allowed
authorDana Jansens <danakj@orodu.net>
Thu, 15 Mar 2007 01:11:52 +0000 (01:11 +0000)
committerDana Jansens <danakj@orodu.net>
Thu, 15 Mar 2007 01:11:52 +0000 (01:11 +0000)
openbox/focus.c

index 817640ffa5047c801600e95f9d9bb21ab02034b1..f06a077e27eea72e55e58df7fe1c149a99f0803b 100644 (file)
@@ -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;
 
 
This page took 0.027288 seconds and 4 git commands to generate.