From: Dana Jansens Date: Fri, 18 Apr 2003 22:27:24 +0000 (+0000) Subject: dispatch presses and releases during a move/resize X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=2829849b714a37d2efe4674c7a2a3e4b473edcf9;p=chaz%2Fopenbox dispatch presses and releases during a move/resize --- diff --git a/openbox/event.c b/openbox/event.c index a5bb295a..ed214af7 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -407,7 +407,9 @@ static void event_process(XEvent *e) e->type == ButtonPress || e->type == KeyPress || e->type == KeyRelease) { moveresize_event(e); - return; /* no dispatch! */ + + if (!(e->type == ButtonPress || e->type == ButtonRelease)) + return; /* no dispatch! */ } /* user input (action-bound) events */