removed hardcoded limitation to cycle/focus windows on all workspaces

reasons:

* fixes #1732115, allows to have chatwindows on another workspaces and reach them via :NextWindow (urgent=yes)
* old behavior can be achieve by using the (workspace=[current]) pattern
This commit is contained in:
Mathias Gumz 2010-09-10 13:32:47 +02:00
parent 8a7c117153
commit 882a50fe1d

View file

@ -56,9 +56,7 @@ bool doSkipWindow(const Focusable &win, const ClientPattern *pat) {
return true; // skip if no fbwindow or if focushidden
if (pat && !pat->match(win))
return true; // skip if it doesn't match the pattern
if (fbwin->workspaceNumber() != win.screen().currentWorkspaceID() &&
!fbwin->isStuck())
return true; // for now, we only cycle through the current workspace
return false; // else don't skip
}