From eb6a2e9c4b334f53d714a2e7f10f73c63c3d2edd Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 13 Jun 2007 11:15:51 +0000 Subject: xinerama support like crazy for struts and everything else too. this probably crashes but its been way too long without a commit. --- openbox/mouse.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'openbox/mouse.c') 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, -- cgit v1.2.3