minor fix for alt-tab
This commit is contained in:
parent
8de73d0fd4
commit
9545871f7a
1 changed files with 5 additions and 1 deletions
|
@ -123,7 +123,11 @@ void FocusControl::cycleFocus(FocusedWindows &window_list, int opts, bool cycle_
|
|||
continue;
|
||||
|
||||
fbwin = (*it)->fbwindow();
|
||||
if (!fbwin)
|
||||
// make sure the window is on the same workspace,
|
||||
// unless its sticky, which is ok
|
||||
if (!fbwin ||
|
||||
( fbwin->workspaceNumber() != m_screen.currentWorkspaceID() &&
|
||||
! fbwin->isStuck()))
|
||||
continue;
|
||||
|
||||
// keep track of the originally selected window in a group
|
||||
|
|
Loading…
Reference in a new issue