dispatch presses and releases during a move/resize

This commit is contained in:
Dana Jansens 2003-04-18 22:27:24 +00:00
parent 31fac363fb
commit 2829849b71

View file

@ -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 */