summaryrefslogtreecommitdiff
path: root/openbox/keyboard.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2010-01-08 10:45:24 -0500
committerDana Jansens <danakj@orodu.net>2010-01-08 10:45:24 -0500
commit3368b91d544ab8c6510d88e5ad58d070fad62baa (patch)
tree3eaf5bc850e025bffb5d29a6e7e31693e89ec265 /openbox/keyboard.h
parent73575c10ce3ede1637e4f959b56e1f7d5f110b91 (diff)
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.
Diffstat (limited to 'openbox/keyboard.h')
-rw-r--r--openbox/keyboard.h2
1 files changed, 1 insertions, 1 deletions
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);