summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMC <mc@hack.org>2010-06-30 13:46:07 +0200
committerMC <mc@hack.org>2010-06-30 13:46:07 +0200
commit127afdd70593b6f33cb38e53545565aa77f3c131 (patch)
treed43f0fe98c65bed56a2a1ba5964254bc02da123d
parent20acabc0d2950c0f93056bda62db907048e3e654 (diff)
downloadmcwm-127afdd70593b6f33cb38e53545565aa77f3c131.zip
Forget old focus before mapping new windows on new workspace.
-rw-r--r--mcwm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mcwm.c b/mcwm.c
index d62afec..3ee2ddf 100644
--- a/mcwm.c
+++ b/mcwm.c
@@ -304,6 +304,8 @@ void changeworkspace(int ws)
xcb_unmap_window(conn, client->id);
}
}
+
+ focuswin = NULL;
/* Go through list of new ws. Map everything that isn't fixed. */
for (item = wslist[ws]; item != NULL; item = item->next)