summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMC <mc@hack.org>2010-06-30 14:33:43 +0200
committerMC <mc@hack.org>2010-06-30 14:33:43 +0200
commitd8f56afb4bd8d6e9279c207e81989dd60c817065 (patch)
tree4b08729663bf0c4d55b6c377060f093848456225
parentcf73ba9e2b3d40c30e0dce51046fb78881404204 (diff)
downloadmcwm-d8f56afb4bd8d6e9279c207e81989dd60c817065.zip
Special treatment for focus on fixed windows.
-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;