]> Dogcows Code - chaz/openbox/commitdiff
dont focus !normal clients under the mouse
authorDana Jansens <danakj@orodu.net>
Fri, 21 Mar 2003 10:23:34 +0000 (10:23 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 21 Mar 2003 10:23:34 +0000 (10:23 +0000)
plugins/focus.c

index 8528d68c5e9676ba2ae59362a0681cb4e7a5e560..cf30b3717b73416e8c5fbaa99c767cb66795009d 100644 (file)
@@ -29,8 +29,7 @@ static gboolean focus_under_pointer()
                 break;
         }
         if (it != NULL) {
-            client_focus(it->data);
-            return TRUE;
+            return client_normal(it->data) && client_focus(it->data);
         }
     }
     return FALSE;
This page took 0.021473 seconds and 4 git commands to generate.