From 055aa5cd7411c4563956e376523219afc6198ce1 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 11 Oct 2003 16:19:17 +0000 Subject: gracefully handle grabs failing when doing interactive actions --- openbox/keyboard.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openbox/keyboard.h') diff --git a/openbox/keyboard.h b/openbox/keyboard.h index be181bd7..8a9eb47f 100644 --- a/openbox/keyboard.h +++ b/openbox/keyboard.h @@ -39,8 +39,8 @@ void keyboard_unbind_all(); void keyboard_event(struct _ObClient *client, const XEvent *e); void keyboard_reset_chains(); -void keyboard_interactive_grab(guint state, struct _ObClient *client, - struct _ObAction *action); +gboolean keyboard_interactive_grab(guint state, struct _ObClient *client, + struct _ObAction *action); gboolean keyboard_process_interactive_grab(const XEvent *e, struct _ObClient **client); -- cgit v1.2.3