From 882a50fe1d4930b156965c54d9b66ecb27b4c9b2 Mon Sep 17 00:00:00 2001 From: Mathias Gumz Date: Fri, 10 Sep 2010 13:32:47 +0200 Subject: 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 --- src/FocusControl.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/FocusControl.cc b/src/FocusControl.cc index f49db32..341ad0d 100644 --- a/src/FocusControl.cc +++ b/src/FocusControl.cc @@ -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 } -- cgit v0.11.2