diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-08-16 05:29:31 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-08-16 05:29:31 +0000 |
| commit | 6bf013e2b7c5e6090ecce24727830205869a0e44 (patch) | |
| tree | 7216c7c4a8068b6e642473e7cc85393b64d61f20 /util | |
| parent | 481fd73de0f3aad42493b9cdde66e704a787abdc (diff) | |
dont lose the last-focused window when all windows lose focus
Diffstat (limited to 'util')
| -rw-r--r-- | util/epist/screen.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/util/epist/screen.cc b/util/epist/screen.cc index e7ebd64c..81631073 100644 --- a/util/epist/screen.cc +++ b/util/epist/screen.cc @@ -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"; |
