]> Dogcows Code - chaz/openbox/commitdiff
UGLY HACK
authorDana Jansens <danakj@orodu.net>
Wed, 15 Oct 2003 07:31:24 +0000 (07:31 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 15 Oct 2003 07:31:24 +0000 (07:31 +0000)
makes move/resize events not get queued, so to avoid a race
UGLY HACK

openbox/action.c

index 483ac8dba349e3504681af6b5c2e0e995bf112cd..c07fa1625826cbf47cc5a220a6bbde9f30e23ba8 100644 (file)
@@ -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
This page took 0.03018 seconds and 4 git commands to generate.