]> Dogcows Code - chaz/openbox/commitdiff
export its options and use them from the rc file
authorDana Jansens <danakj@orodu.net>
Sun, 23 Mar 2003 22:28:12 +0000 (22:28 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 23 Mar 2003 22:28:12 +0000 (22:28 +0000)
plugins/focus.c

index db0a2b33c6621f03d290e146395c1c11eccf29e4..da76e98c808c7ac98ef83af464b6e55f01155d81 100644 (file)
@@ -166,8 +166,9 @@ static void event(ObEvent *e, void *foo)
             --skip_enter;
         }
         else*/
-        if (e->data.x.client != NULL && client_normal(e->data.x.client))
-            client_focus(e->data.x.client);
+        if (follow_mouse.bool)
+            if (e->data.x.client != NULL && client_normal(e->data.x.client))
+                client_focus(e->data.x.client);
         break;
 
     default:
This page took 0.02359 seconds and 4 git commands to generate.