UGLY HACK makes move/resize events not get queued, so to avoid a race UGLY HACK
Dana Jansens danakj@orodu.net
1 files changed,
5 insertions(+),
0 deletions(-)
jump to
M
openbox/action.c
→
openbox/action.c
@@ -948,7 +948,12 @@ a->data.inter.final = done;
if (!(cancel || done)) if (!keyboard_interactive_grab(state, a->data.any.c, a)) continue; + } + /* XXX UGLY HACK race with motion event starting a move and the + button release gettnig processed first. answer: don't queue + moveresize starts. UGLY HACK XXX */ + if (a->data.any.interactive || a->func == action_moveresize) { /* interactive actions are not queued */ a->func(&a->data); } else