From d66cb88e3e3f1d1288e21068059df80d76978f6d Mon Sep 17 00:00:00 2001 From: markt Date: Sun, 20 May 2007 00:45:13 +0000 Subject: this is probably a better measure of whether or not the focus change is desired --- src/Window.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Window.cc b/src/Window.cc index 6f87913..a2200f0 100644 --- a/src/Window.cc +++ b/src/Window.cc @@ -2337,7 +2337,8 @@ bool FluxboxWindow::allowsFocusFromClient() { FluxboxWindow *cur = FocusControl::focusedFbWindow(); WinClient *client = FocusControl::focusedWindow(); - if (cur && client && cur->isTyping() && + if (cur && client && cur->isTyping() && (!client->window_group || + client->window_group != m_client->window_group) && getRootTransientFor(m_client) != getRootTransientFor(client)) return false; -- cgit v0.11.2