X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fscreen.cc;h=a7aded34273be936b60cdb42fd297374cc6b4594;hb=bf24a3b7fcf8235a272a86c1e81e902aba2304d6;hp=41aa1ebbc8c72427a78c3c4ba9f11484828bba40;hpb=7048f64f4580b8d43176ba2e3114c339c0013a40;p=chaz%2Fopenbox diff --git a/src/screen.cc b/src/screen.cc index 41aa1ebb..a7aded34 100644 --- 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