summaryrefslogtreecommitdiff
path: root/src/screen.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/screen.cc')
-rw-r--r--src/screen.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screen.cc b/src/screen.cc
index 6bc04ad1..41aa1ebb 100644
--- a/src/screen.cc
+++ b/src/screen.cc
@@ -619,7 +619,7 @@ void Screen::raiseWindow(Client *client)
_stacking.remove(client);
Client::List::iterator it = _stacking.begin();
- Client::List::const_iterator end = _stacking.end();
+ const Client::List::iterator end = _stacking.end();
// the stacking list is from highest to lowest
for (; it != end && (*it)->layer() > client->layer(); ++it);