aboutsummaryrefslogtreecommitdiff
path: root/src/Window.cc
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2009-10-03 11:38:41 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2009-10-03 11:38:41 (GMT)
commitf2ea245f1dfc7c4941143db49ae81b8fceefea8c (patch)
treea5ce1bdb3a3aedc77ad5eca4e5015525b5e95cdf /src/Window.cc
parent0f299ceecd8a2282f31ffc55db8721bbd16c6267 (diff)
downloadfluxbox-f2ea245f1dfc7c4941143db49ae81b8fceefea8c.zip
fluxbox-f2ea245f1dfc7c4941143db49ae81b8fceefea8c.tar.bz2
compile fixes for sun compiler 5.10: complains about 'not beeing able to initialize this from that'
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?