blob: 18896574b2c30c2d81d0627d3f99111f0721578f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
$NetBSD: patch-bj,v 1.2 2012/04/17 20:08:06 bsiegert Exp $
--- src/Window.cc.orig Sat Oct 29 13:45:51 2011
+++ src/Window.cc
@@ -185,9 +185,10 @@ void lowerFluxboxWindow(FluxboxWindow &w
win.screen().layerManager().lock();
// lower the windows from the top down, so they don't change stacking order
- const WinClient::TransientList& transients = win.winClient().transientList();
- WinClient::TransientList::const_reverse_iterator it = transients.rbegin();
- WinClient::TransientList::const_reverse_iterator it_end = transients.rend();
+ // XXX: I'd rather use a const_reverse_iterator here, but sunpro has problems with it.
+ WinClient::TransientList& transients = win.winClient().transientList();
+ WinClient::TransientList::reverse_iterator it = transients.rbegin();
+ WinClient::TransientList::reverse_iterator it_end = transients.rend();
for (; it != it_end; ++it) {
if ((*it)->fbwindow() && !(*it)->fbwindow()->isIconic())
// TODO: should we also check if it is the active client?
|