change workspace number of iconified, stuck windows when changing workspaces
This commit is contained in:
parent
ca1ca328cf
commit
7ba4f04a86
2 changed files with 10 additions and 0 deletions
|
@ -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)
|
||||
|
|
|
@ -1175,6 +1175,13 @@ void BScreen::changeWorkspaceID(unsigned int id) {
|
|||
}
|
||||
}
|
||||
|
||||
// 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
|
||||
|
|
Loading…
Reference in a new issue