From 1bc2d7d3b7c3bfc9bbfe2bfcd01ff261b955354f 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 a3c050cd5f..8646f4886e 100644 --- a/activation.cpp +++ b/activation.cpp @@ -458,7 +458,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();