dont lose the last-focused window when all windows lose focus
This commit is contained in:
parent
481fd73de0
commit
6bf013e2b7
1 changed files with 2 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue