summaryrefslogtreecommitdiff
path: root/mcwm.c
diff options
context:
space:
mode:
Diffstat (limited to 'mcwm.c')
-rw-r--r--mcwm.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/mcwm.c b/mcwm.c
index 0f0dc8e..d717d62 100644
--- a/mcwm.c
+++ b/mcwm.c
@@ -731,6 +731,13 @@ void fixwindow(struct client *client, bool setcolour)
}
else
{
+ /*
+ * First raise the window. If we're going to another desktop
+ * we don't want this fixed window to be occluded behind
+ * something else.
+ */
+ raisewindow(client->id);
+
client->fixed = true;
setwmdesktop(client->id, NET_WM_FIXED);