From: Dana Jansens Date: Thu, 15 Aug 2002 16:26:07 +0000 (+0000) Subject: better track of the last window on a screen. X-Git-Tag: openbox-2_0_0~43 X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=2241f5c8eaa932d458791dc559f420b9dd58fef4;p=dana%2Fopenbox.git better track of the last window on a screen. --- diff --git a/util/epist/screen.cc b/util/epist/screen.cc index 7ac5780b..eb9edc39 100644 --- a/util/epist/screen.cc +++ b/util/epist/screen.cc @@ -444,8 +444,7 @@ void screen::updateActiveWindow() { } } _active = it; - if (it != end) - _last_active = it; + _last_active = it; /* cout << "Active window is now: "; if (_active == _clients.end()) cout << "None\n";