]> Dogcows Code - chaz/openbox/commitdiff
export if an interactive grab is in progress
authorDana Jansens <danakj@orodu.net>
Sun, 21 Sep 2003 17:12:22 +0000 (17:12 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 21 Sep 2003 17:12:22 +0000 (17:12 +0000)
openbox/keyboard.c
openbox/keyboard.h

index 7a74b427c9e3fda3a63dfa57780912f201189c6a..1499421353597377dff61036373fef075a0eac3f 100644 (file)
@@ -155,6 +155,11 @@ gboolean keyboard_bind(GList *keylist, ObAction *action)
     return TRUE;
 }
 
+gboolean keyboard_interactive_grab_in_progress()
+{
+    return interactive_states != NULL;
+}
+
 void keyboard_interactive_grab(guint state, ObClient *client,
                                ObAction *action)
 {
index be181bd75c590556195ec07d96d1409a3e8570e8..6ea1881d87731de6e7cd32c28dbf2336f69bd74e 100644 (file)
@@ -43,6 +43,7 @@ void keyboard_interactive_grab(guint state, struct _ObClient *client,
                                struct _ObAction *action);
 gboolean keyboard_process_interactive_grab(const XEvent *e,
                                            struct _ObClient **client);
+gboolean keyboard_interactive_grab_in_progress();
 
 void keyboard_grab_for_client(struct _ObClient *c, gboolean grab);
 
This page took 0.028817 seconds and 4 git commands to generate.