From b65246dcef384f7f3e7f43c271fb94afbac38e9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=BCbking?= Date: Fri, 1 Mar 2013 21:08:16 +0100 Subject: [PATCH] Only prefer current tabgroup if it's shown BUG: 315956 FIXED-IN:4.10.2 --- activation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activation.cpp b/activation.cpp index 2b4b355d11..9e6dddff7c 100644 --- a/activation.cpp +++ b/activation.cpp @@ -453,7 +453,7 @@ bool Workspace::activateNextClient(Client* c) Client* get_focus = NULL; // precedence on keeping the current tabgroup active. to the user that's the same window - if (c && c->tabGroup()) { + if (c && c->tabGroup() && c->isShown(false)) { if (c == c->tabGroup()->current()) c->tabGroup()->activateNext(); get_focus = c->tabGroup()->current();