]> Dogcows Code - chaz/openbox/blobdiff - openbox/action.c
but don't count the same enter events more than once still
[chaz/openbox] / openbox / action.c
index 60af74b5e4723a879b3c97e5038cd149f1ca4925..0a2d2b627b890346b50ac5991317f58f552a1c80 100644 (file)
 
 #include <glib.h>
 
-inline void client_action_start(union ActionData *data)
+static 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)
+static 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.023005 seconds and 4 git commands to generate.