diff options
author | Michael Cardell Widerkrantz <mc@hack.org> | 2011-03-28 16:07:03 +0200 |
---|---|---|
committer | Michael Cardell Widerkrantz <mc@hack.org> | 2011-03-28 16:07:03 +0200 |
commit | 3735bdc0e4d3ef7c4a1555f0860c152cf69da7b2 (patch) | |
tree | 78f1ed82b0826d767f57759ffb2904eb0b9dc4a7 | |
parent | e30d34870b28b7f2c872a93fd47ad65477e7f7c6 (diff) | |
download | mcwm-3735bdc0e4d3ef7c4a1555f0860c152cf69da7b2.zip |
Always raise window when fixing it on all workspaces. When moving
windows between workspaces, this makes us sure we can find it on the
workspace we're going to. Thanks to Simon Friis for noticing.
-rw-r--r-- | NEWS | 6 | ||||
-rw-r--r-- | mcwm.c | 7 |
2 files changed, 13 insertions, 0 deletions
@@ -2,6 +2,12 @@ User visible changes +2011-03-28 + + * Always raise window when fixing it on all workspaces. When moving + windows between workspaces, this makes us sure we can find it on + the workspace we're going to. Thanks to Simon Friis for noticing. + 2011-03-26 * You don't have to tell mcwm what keycode generates the MODKEY @@ -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); |