summaryrefslogtreecommitdiff
path: root/src/Window.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Window.cc')
-rw-r--r--src/Window.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Window.cc b/src/Window.cc
index cccb9c4..6377da7 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -2246,7 +2246,7 @@ bool FluxboxWindow::allowsFocusFromClient() {
2246 2246
2247 FluxboxWindow *cur = FocusControl::focusedFbWindow(); 2247 FluxboxWindow *cur = FocusControl::focusedFbWindow();
2248 WinClient *client = FocusControl::focusedWindow(); 2248 WinClient *client = FocusControl::focusedWindow();
2249 if (cur && client && cur->isTyping() && 2249 if (cur && client && (m_client->isTransient() || cur->isTyping()) &&
2250 getRootTransientFor(m_client) != getRootTransientFor(client)) 2250 getRootTransientFor(m_client) != getRootTransientFor(client))
2251 return false; 2251 return false;
2252 2252