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/mouse.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbox/mouse.h') 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); -- cgit v1.2.3