all repos — openbox @ 2829849b714a37d2efe4674c7a2a3e4b473edcf9

openbox fork - make it a bit more like ryudo

dispatch presses and releases during a move/resize
Dana Jansens danakj@orodu.net
commit

2829849b714a37d2efe4674c7a2a3e4b473edcf9

parent

31fac363fb8a1c62f38b943a7623f3e4afc7a7cd

1 files changed, 3 insertions(+), 1 deletions(-)

jump to
M openbox/event.copenbox/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 */