summaryrefslogtreecommitdiff
path: root/openbox/mouse.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-06-13 11:15:51 +0000
committerDana Jansens <danakj@orodu.net>2007-06-13 11:15:51 +0000
commiteb6a2e9c4b334f53d714a2e7f10f73c63c3d2edd (patch)
tree82802298c0d4bb5acdb00f0531b626753cb2dec1 /openbox/mouse.c
parent97d4f66cd8db231531e2b425390ff1b4a74e5358 (diff)
xinerama support like crazy for struts and everything else too. this probably crashes but its been way too long without a commit.
Diffstat (limited to 'openbox/mouse.c')
-rw-r--r--openbox/mouse.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbox/mouse.c b/openbox/mouse.c
index f74063ed..9e7ac648 100644
--- a/openbox/mouse.c
+++ b/openbox/mouse.c
@@ -210,6 +210,9 @@ void mouse_event(ObClient *client, XEvent *e)
button = e->xbutton.button;
state = e->xbutton.state;
+ if (CLIENT_CONTEXT(context, client))
+ XAllowEvents(ob_display, ReplayPointer, event_curtime);
+
fire_binding(OB_MOUSE_ACTION_PRESS, context,
client, e->xbutton.state,
e->xbutton.button,