From 2e90dfbfecb558d0aaa13577e3147f3d66cb7691 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 15 Oct 2003 07:31:24 +0000 Subject: [PATCH] UGLY HACK makes move/resize events not get queued, so to avoid a race UGLY HACK --- openbox/action.c | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.44.0