projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7048f64
)
dont use a const_iterator
author
Dana Jansens
<danakj@orodu.net>
Thu, 23 Jan 2003 02:30:58 +0000
(
02:30
+0000)
committer
Dana Jansens
<danakj@orodu.net>
Thu, 23 Jan 2003 02:30:58 +0000
(
02:30
+0000)
src/screen.cc
patch
|
blob
|
history
diff --git
a/src/screen.cc
b/src/screen.cc
index
41aa1eb
..
a7aded3
100644
(file)
--- a/
src/screen.cc
+++ b/
src/screen.cc
@@
-594,7
+594,7
@@
void Screen::lowerWindow(Client *client)
assert(!_stacking.empty()); // this would be bad
Client::List::iterator it = --_stacking.end();
-
Client::List::const_
iterator end = _stacking.begin();
+
const Client::List::
iterator end = _stacking.begin();
for (; it != end && (*it)->layer() < client->layer(); --it);
if (*it == client) return; // already the bottom, return