From 2829849b714a37d2efe4674c7a2a3e4b473edcf9 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 18 Apr 2003 22:27:24 +0000 Subject: [PATCH] dispatch presses and releases during a move/resize --- openbox/event.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 */ -- 2.39.2