projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
481fd73
)
dont lose the last-focused window when all windows lose focus
author
Dana Jansens
<danakj@orodu.net>
Fri, 16 Aug 2002 05:29:31 +0000
(
05:29
+0000)
committer
Dana Jansens
<danakj@orodu.net>
Fri, 16 Aug 2002 05:29:31 +0000
(
05:29
+0000)
util/epist/screen.cc
patch
|
blob
|
history
diff --git
a/util/epist/screen.cc
b/util/epist/screen.cc
index e7ebd64cf1d1afb06abd79d40c69b74b6c49a88e..8163107391de84ea015d1bbf3597096054342b20 100644
(file)
--- 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";