all repos — openbox @ 2685eeb77fd1c744d1c46e27542cf59ec5e9171e

openbox fork - make it a bit more like ryudo

when trying to find a window on the screen to focus, dont use non-focusable windows
Dana Jansens danakj@orodu.net
commit

2685eeb77fd1c744d1c46e27542cf59ec5e9171e

parent

42e00b1c5b6f6f424ed9c84e81695ea5ab874a76

1 files changed, 3 insertions(+), 1 deletions(-)

jump to
M util/epist/screen.ccutil/epist/screen.cc

@@ -515,7 +515,9 @@ // find a window if one exists

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