summaryrefslogtreecommitdiff
path: root/mcwm.c
diff options
context:
space:
mode:
Diffstat (limited to 'mcwm.c')
-rw-r--r--mcwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcwm.c b/mcwm.c
index 1431418..f30d47e 100644
--- a/mcwm.c
+++ b/mcwm.c
@@ -295,7 +295,7 @@ void changeworkspace(int ws)
PDEBUG("Changing from workspace #%d to #%d\n", curws, ws);
- if (NULL != focuswin)
+ if (NULL != focuswin && !focuswin->fixed)
{
setunfocus(focuswin->id);
focuswin = NULL;