summaryrefslogtreecommitdiff
path: root/mcwm.c
diff options
context:
space:
mode:
Diffstat (limited to 'mcwm.c')
-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)