deiconify windows via :Deiconify in reverse order
mathias mathias
2 files changed,
5 insertions(+),
2 deletions(-)
M
src/FbCommands.cc
→
src/FbCommands.cc
@@ -403,8 +403,8 @@
// we need to make a copy of the list of icons, or else our iterator can // become invalid BScreen::Icons icon_list = screen->iconList(); - BScreen::Icons::iterator it = icon_list.begin(); - BScreen::Icons::iterator itend= icon_list.end(); + BScreen::Icons::reverse_iterator it = icon_list.rbegin(); + BScreen::Icons::reverse_iterator itend= icon_list.rend(); unsigned int workspace_num= screen->currentWorkspaceID(); unsigned int old_workspace_num;