summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--src/actions.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 3f815dc..af4b1d3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2004-01-30 Shawn Betts <sabetts@vcn.bc.ca>
+
+ * src/actions.c (cmd_tmpwm): add an XSync() call
+
2004-01-25 Ryan Yeske <rcyeske@vcn.bc.ca>
* src/actions.c (sync_wins): Change list_for_each_entry to
diff --git a/src/actions.c b/src/actions.c
index f8f0d41..98cf640 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -3234,6 +3234,10 @@ cmd_tmpwm (int interactive, char *data)
child = waitpid (pid, &status, 0);
} while (child != pid);
+ /* This xsync seems to be needed. Otherwise, the following code dies
+ because X thinks another WM is running. */
+ XSync (dpy, False);
+
/* Enable the event selection on the root window. */
for (i=0; i<num_screens; i++)
{