X-Git-Url: http://git.openbox.org/?p=mikachu%2Fopenbox.git;a=blobdiff_plain;f=openbox%2Ffocus.c;h=f06a077e27eea72e55e58df7fe1c149a99f0803b;hp=817640ffa5047c801600e95f9d9bb21ab02034b1;hb=6772ec19fc5b3c4116c2b8d0aa8a6f0950d24d01;hpb=34f5bbe4f6270000e8a47676343fc159ec731a20;ds=sidebyside diff --git a/openbox/focus.c b/openbox/focus.c index 817640f..f06a077 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;