all repos — fluxbox @ 7ba4f04a869328fd3233c7069dca6da605c9a0b4

custom fork of the fluxbox windowmanager

change workspace number of iconified, stuck windows when changing workspaces
markt markt
commit

7ba4f04a869328fd3233c7069dca6da605c9a0b4

parent

ca1ca328cff53d909bd59e49f830499f084e64fa

2 files changed, 10 insertions(+), 0 deletions(-)

jump to
M ChangeLogChangeLog

@@ -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.ccsrc/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