diff options
| author | Dana Jansens <danakj@orodu.net> | 2010-01-08 10:45:24 -0500 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2010-01-08 10:45:24 -0500 |
| commit | 3368b91d544ab8c6510d88e5ad58d070fad62baa (patch) | |
| tree | 3eaf5bc850e025bffb5d29a6e7e31693e89ec265 /openbox/keyboard.h | |
| parent | 73575c10ce3ede1637e4f959b56e1f7d5f110b91 (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.h | 2 |
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); |
