From 3368b91d544ab8c6510d88e5ad58d070fad62baa Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 8 Jan 2010 10:45:24 -0500 Subject: Don't handle input events on prompts if they should be used for a binding/menu instead. Also, be more careful about making the prompt buttons look pressed, don't make them pressed from a motion notify event if they didnt first handle the press. --- openbox/keyboard.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbox/keyboard.h') diff --git a/openbox/keyboard.h b/openbox/keyboard.h index 1674cf92..c89f67e9 100644 --- a/openbox/keyboard.h +++ b/openbox/keyboard.h @@ -40,7 +40,7 @@ void keyboard_chroot(GList *keylist); gboolean keyboard_bind(GList *keylist, struct _ObActionsAct *action); void keyboard_unbind_all(void); -void keyboard_event(struct _ObClient *client, const XEvent *e); +gboolean keyboard_event(struct _ObClient *client, const XEvent *e); /*! @param break_chroots how many chroots to break. -1 means to break them ALL! */ void keyboard_reset_chains(gint break_chroots); -- cgit v1.2.3