diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-10-15 07:31:24 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-10-15 07:31:24 +0000 |
| commit | 2e90dfbfecb558d0aaa13577e3147f3d66cb7691 (patch) | |
| tree | 060e2b12d38d185d993754873b278e3395642c66 /openbox | |
| parent | 53a259f60d932eb963ff0105e77084bab40f2459 (diff) | |
UGLY HACK
makes move/resize events not get queued, so to avoid a race
UGLY HACK
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/action.c | 5 |
1 files changed, 5 insertions, 0 deletions
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 |
