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/mouse.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/mouse.h')
| -rw-r--r-- | openbox/mouse.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/mouse.h b/openbox/mouse.h index 2bd5d577..3effcc4d 100644 --- a/openbox/mouse.h +++ b/openbox/mouse.h @@ -33,7 +33,7 @@ gboolean mouse_bind(const gchar *buttonstr, const gchar *contextstr, ObMouseAction mact, struct _ObActionsAct *action); void mouse_unbind_all(void); -void mouse_event(struct _ObClient *client, XEvent *e); +gboolean mouse_event(struct _ObClient *client, XEvent *e); void mouse_grab_for_client(struct _ObClient *client, gboolean grab); |
