diff options
author | Shawn <sabetts@juicebox> | 2008-11-01 11:22:22 -0700 |
---|---|---|
committer | Shawn <sabetts@juicebox> | 2008-11-01 11:22:22 -0700 |
commit | 612b99640af64d28823d3a02cdcecf202b74940c (patch) | |
tree | d60fb9abe33c15f686661ea0b2f0acf894154c01 | |
parent | 75207d2e878250c2717174a22cc828c0aba5ba76 (diff) | |
download | ratpoison-612b99640af64d28823d3a02cdcecf202b74940c.zip |
in cmd_tmpwm wait for a second if it failed to re-select the root events.
-rw-r--r-- | src/actions.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/actions.c b/src/actions.c index 136d114..ab5162e 100644 --- a/src/actions.c +++ b/src/actions.c @@ -4678,6 +4678,8 @@ cmd_tmpwm (int interactive, struct cmdarg **args) | StructureNotifyMask); XSync (dpy, False); } + if (tmpwm_error_raised) + sleep(1); } while (tmpwm_error_raised); XSetErrorHandler (old_handler); |