From 49548539d2d8a0f7dddeb8cccc1047f9dcc04309 Mon Sep 17 00:00:00 2001 From: mathias Date: Sat, 13 Oct 2007 11:00:49 +0000 Subject: deiconify windows via :Deiconify in reverse order --- ChangeLog | 2 ++ src/FbCommands.cc | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0f8b8a4..d4d23f5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ (Format: Year/Month/Day) Changes for 1.1: +*07/10/13: deiconify windows via :Deiconify in reverse order (Mathias) + FbCommands.cc *07/06/08: * Fix transient windows getting tabbed from apps file and not changing layers when main window is in a lowered tab (Mark) diff --git a/src/FbCommands.cc b/src/FbCommands.cc index 2527ccf..f536fd8 100644 --- a/src/FbCommands.cc +++ b/src/FbCommands.cc @@ -433,8 +433,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