smarter window cycling, behave with omnipresent windows
Dana Jansens danakj@orodu.net
1 files changed,
5 insertions(+),
2 deletions(-)
jump to
M
util/epist/screen.cc
→
util/epist/screen.cc
@@ -444,7 +444,8 @@ break;
} } _active = it; - _last_active = it; + if (it != end) + _last_active = it; /* cout << "Active window is now: "; if (_active == _clients.end()) cout << "None\n";@@ -514,7 +515,9 @@ if (target == first)
return; } while ((*target)->iconic() || (! allscreens && (*target)->getScreen() != this) || - (! alldesktops && (*target)->desktop() != _active_desktop) || + (! alldesktops && + (*target)->desktop() != _active_desktop && + (*target)->desktop() != 0xffffffff) || (sameclass && ! classname.empty() && (*target)->appClass() != classname));