aboutsummaryrefslogtreecommitdiff
path: root/src/Window.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Window.cc')
-rw-r--r--src/Window.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Window.cc b/src/Window.cc
index dc4015a..2d4f85a 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -187,8 +187,9 @@ void lowerFluxboxWindow(FluxboxWindow &win) {
187 win.screen().layerManager().lock(); 187 win.screen().layerManager().lock();
188 188
189 // lower the windows from the top down, so they don't change stacking order 189 // lower the windows from the top down, so they don't change stacking order
190 WinClient::TransientList::const_reverse_iterator it = win.winClient().transientList().rbegin(); 190 const WinClient::TransientList& transients = win.winClient().transientList();
191 WinClient::TransientList::const_reverse_iterator it_end = win.winClient().transientList().rend(); 191 WinClient::TransientList::const_reverse_iterator it = transients.rbegin();
192 WinClient::TransientList::const_reverse_iterator it_end = transients.rend();
192 for (; it != it_end; ++it) { 193 for (; it != it_end; ++it) {
193 if ((*it)->fbwindow() && !(*it)->fbwindow()->isIconic()) 194 if ((*it)->fbwindow() && !(*it)->fbwindow()->isIconic())
194 // TODO: should we also check if it is the active client? 195 // TODO: should we also check if it is the active client?