summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShawn <sabetts@juicebox>2008-11-01 11:22:22 -0700
committerShawn <sabetts@juicebox>2008-11-01 11:22:22 -0700
commit612b99640af64d28823d3a02cdcecf202b74940c (patch)
treed60fb9abe33c15f686661ea0b2f0acf894154c01
parent75207d2e878250c2717174a22cc828c0aba5ba76 (diff)
downloadratpoison-612b99640af64d28823d3a02cdcecf202b74940c.zip
in cmd_tmpwm wait for a second if it failed to re-select the root events.
-rw-r--r--src/actions.c2
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);