]> Dogcows Code - chaz/openbox/blobdiff - openbox/keyboard.c
save teh client for interactive actions cuz after teh keyboard is grabbed there is...
[chaz/openbox] / openbox / keyboard.c
index fe13c97b4c9869ac7a756324fb7e5e5c64d42cb4..d044ba5c10b9866e9a60297aa20c65b6317d2c99 100644 (file)
@@ -157,7 +157,7 @@ void keyboard_interactive_grab(guint state, ObClient *client,
     interactive_states = g_slist_append(interactive_states, s);
 }
 
-gboolean keyboard_process_interactive_grab(const XEvent *e)
+gboolean keyboard_process_interactive_grab(const XEvent *e, ObClient **client)
 {
     GSList *it, *next;
     gboolean handled = FALSE;
@@ -192,7 +192,8 @@ gboolean keyboard_process_interactive_grab(const XEvent *e)
             }
 
             handled = TRUE;
-        }
+        } else
+            *client = s->client;
     }
 
     return handled;
This page took 0.020545 seconds and 4 git commands to generate.