dispatch presses and releases during a move/resize
This commit is contained in:
parent
31fac363fb
commit
2829849b71
1 changed files with 3 additions and 1 deletions
|
@ -407,7 +407,9 @@ static void event_process(XEvent *e)
|
||||||
e->type == ButtonPress ||
|
e->type == ButtonPress ||
|
||||||
e->type == KeyPress || e->type == KeyRelease) {
|
e->type == KeyPress || e->type == KeyRelease) {
|
||||||
moveresize_event(e);
|
moveresize_event(e);
|
||||||
return; /* no dispatch! */
|
|
||||||
|
if (!(e->type == ButtonPress || e->type == ButtonRelease))
|
||||||
|
return; /* no dispatch! */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* user input (action-bound) events */
|
/* user input (action-bound) events */
|
||||||
|
|
Loading…
Reference in a new issue