dont lose the last-focused window when all windows lose focus

This commit is contained in:
Dana Jansens 2002-08-16 05:29:31 +00:00
parent 481fd73de0
commit 6bf013e2b7

View file

@ -444,7 +444,8 @@ void screen::updateActiveWindow() {
}
}
_active = it;
_last_active = it;
if (it != end)
_last_active = it;
/* cout << "Active window is now: ";
if (_active == _clients.end()) cout << "None\n";