]> Dogcows Code - chaz/openbox/blobdiff - plugins/focus.c
dont focus !normal clients under the mouse
[chaz/openbox] / 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.020223 seconds and 4 git commands to generate.