From cfb1e06df208d55d34da6995335d3fff67426c72 Mon Sep 17 00:00:00 2001 From: mathias Date: Sat, 13 Oct 2007 12:43:22 +0000 Subject: deiconify windows via :Deiconify in reverse order --- ChangeLog | 3 +++ src/FbCommands.cc | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index ed7973c..8497187 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ (Format: Year/Month/Day) Changes for 1.0.0: +*07/10/13: + * deiconify windows via :Deiconify in reverse order (Mathias) + FbCommands.cc *07/10/08: * Changed default style to bloe *07/10/07: diff --git a/src/FbCommands.cc b/src/FbCommands.cc index 2faa267..b7ee941 100644 --- a/src/FbCommands.cc +++ b/src/FbCommands.cc @@ -403,8 +403,8 @@ void DeiconifyCmd::execute() { // 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; -- cgit v0.11.2