]> Dogcows Code - chaz/openbox/commitdiff
make the Unfocus action do something when config_focus_follow is set
authorMikael Magnusson <mikachu@comhem.se>
Wed, 2 Aug 2006 04:45:52 +0000 (04:45 +0000)
committerMikael Magnusson <mikachu@comhem.se>
Wed, 2 Aug 2006 04:45:52 +0000 (04:45 +0000)
openbox/focus.c

index 4f598ec5e5061478c53ee0e8c064cb85b75234f4..07df3a5624b8436c63d9bd5563053b37c4ac045b 100644 (file)
@@ -290,7 +290,9 @@ ObClient* focus_fallback_target(ObFocusFallbackType type)
         }
     }
 
-    if (config_focus_follow && !config_focus_last) {
+    if (config_focus_follow &&
+        (type == OB_FOCUS_FALLBACK_UNFOCUSING || !config_focus_last))
+    {
         if ((target = client_under_pointer()))
             if (client_normal(target) && client_can_focus(target))
                 return target;
This page took 0.031844 seconds and 4 git commands to generate.