From: Dana Jansens Date: Wed, 15 Oct 2003 07:31:24 +0000 (+0000) Subject: UGLY HACK X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=2e90dfbfecb558d0aaa13577e3147f3d66cb7691;p=chaz%2Fopenbox UGLY HACK makes move/resize events not get queued, so to avoid a race UGLY HACK --- diff --git a/openbox/action.c b/openbox/action.c index 483ac8db..c07fa162 100644 --- a/openbox/action.c +++ b/openbox/action.c @@ -948,7 +948,12 @@ void action_run_list(GSList *acts, ObClient *c, ObFrameContext context, 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