projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42e00b1
)
when trying to find a window on the screen to focus, dont use non-focusable windows
author
Dana Jansens
<danakj@orodu.net>
Sun, 1 Sep 2002 21:39:00 +0000
(21:39 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Sun, 1 Sep 2002 21:39:00 +0000
(21:39 +0000)
util/epist/screen.cc
patch
|
blob
|
history
diff --git
a/util/epist/screen.cc
b/util/epist/screen.cc
index 5e56fc91e750ad4dccb75ea897b30c15dd8a8952..1705202bc319ad82f36df47b4b1cb653a73da11a 100644
(file)
--- a/
util/epist/screen.cc
+++ b/
util/epist/screen.cc
@@
-515,7
+515,9
@@
const XWindow *screen::lastActiveWindow() const {
WindowList::const_iterator it, end = _clients.end();
for (it = _clients.begin(); it != end; ++it)
if ((*it)->getScreen() == this && ! (*it)->iconic() &&
- ((*it)->desktop() == 0xffffffff || (*it)->desktop() == _active_desktop))
+ (*it)->canFocus() &&
+ ((*it)->desktop() == 0xffffffff ||
+ (*it)->desktop() == _active_desktop))
return *it;
// no windows on this screen