aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarkt <markt>2007-05-20 00:45:13 (GMT)
committermarkt <markt>2007-05-20 00:45:13 (GMT)
commitd66cb88e3e3f1d1288e21068059df80d76978f6d (patch)
treed8af46474b13fe14e1e16e27f096e7efbb79220f
parent0d3a70ff6c19b143e716fab7ddba26363671a73d (diff)
downloadfluxbox-d66cb88e3e3f1d1288e21068059df80d76978f6d.zip
fluxbox-d66cb88e3e3f1d1288e21068059df80d76978f6d.tar.bz2
this is probably a better measure of whether or not the focus change is desired
-rw-r--r--src/Window.cc3
1 files changed, 2 insertions, 1 deletions
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() {
2337 2337
2338 FluxboxWindow *cur = FocusControl::focusedFbWindow(); 2338 FluxboxWindow *cur = FocusControl::focusedFbWindow();
2339 WinClient *client = FocusControl::focusedWindow(); 2339 WinClient *client = FocusControl::focusedWindow();
2340 if (cur && client && cur->isTyping() && 2340 if (cur && client && cur->isTyping() && (!client->window_group ||
2341 client->window_group != m_client->window_group) &&
2341 getRootTransientFor(m_client) != getRootTransientFor(client)) 2342 getRootTransientFor(m_client) != getRootTransientFor(client))
2342 return false; 2343 return false;
2343 2344