]> Dogcows Code - chaz/openbox/commitdiff
kill enter events without using pointer grabs
authorDana Jansens <danakj@orodu.net>
Thu, 17 May 2007 02:23:35 +0000 (02:23 +0000)
committerDana Jansens <danakj@orodu.net>
Thu, 17 May 2007 02:23:35 +0000 (02:23 +0000)
openbox/action.c

index 60af74b5e4723a879b3c97e5038cd149f1ca4925..431b88c1de05606512fa29dcf529aee8549d9e92 100644 (file)
@@ -40,9 +40,6 @@
 
 inline void client_action_start(union ActionData *data)
 {
-    if (config_focus_follow)
-        if (data->any.context != OB_FRAME_CONTEXT_CLIENT && !data->any.button)
-            grab_pointer(FALSE, FALSE, OB_CURSOR_NONE);
 }
 
 inline void client_action_end(union ActionData *data)
@@ -50,7 +47,7 @@ inline void client_action_end(union ActionData *data)
     if (config_focus_follow)
         if (data->any.context != OB_FRAME_CONTEXT_CLIENT) {
             if (!data->any.button) {
-                ungrab_pointer();
+                event_ignore_queued_enters();
             } else {
                 ObClient *c;
 
This page took 0.028431 seconds and 4 git commands to generate.