change workspace number of iconified, stuck windows when changing workspaces
markt markt
2 files changed,
10 insertions(+),
0 deletions(-)
M
ChangeLog
→
ChangeLog
@@ -1,5 +1,8 @@
(Format: Year/Month/Day) Changes for 1.0rc3: +*07/03/17: + * Iconified, stuck windows weren't being moved to different workspaces (Mark) + Screen.cc *07/03/16: * Maximizing a window with aspect ratio requirements was making windows too large (thanks Tomas Janousek)
M
src/Screen.cc
→
src/Screen.cc
@@ -1175,6 +1175,13 @@ reassociateWindow(*it, id, true);
} } + // change workspace ID of stuck iconified windows, too + Icons::iterator icon_it = iconList().begin(); + for (; icon_it != iconList().end(); ++icon_it) { + if ((*icon_it)->isStuck()) + (*icon_it)->setWorkspace(id); + } + currentWorkspace()->hideAll(false); // set new workspace