dispatch presses and releases during a move/resize
Dana Jansens danakj@orodu.net
1 files changed,
3 insertions(+),
1 deletions(-)
jump to
M
openbox/event.c
→
openbox/event.c
@@ -407,7 +407,9 @@ if (e->type == MotionNotify || e->type == ButtonRelease ||
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 */