X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Faction.c;h=c07fa1625826cbf47cc5a220a6bbde9f30e23ba8;hb=7c827e16ba99824a6a3862c6f72d2102f5abc5c2;hp=483ac8dba349e3504681af6b5c2e0e995bf112cd;hpb=740c5b2a20d5110435d0874f8cc6a4c9dfd14777;p=chaz%2Fopenbox 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