summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--src/Window.cc2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2c6fee0..dc74024 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
1 (Format: Year/Month/Day) 1 (Format: Year/Month/Day)
2Changes for 1.0.1: 2Changes for 1.0.1:
3*07/12/19:
4 * Don't let transient windows steal focus from other programs (Mark)
5 Window.cc
3*07/12/18: 6*07/12/18:
4 * NLS entries for Mouse Tab Focus and Click Tab Focus were switched - please 7 * NLS entries for Mouse Tab Focus and Click Tab Focus were switched - please
5 make sure they're right now in your language, bug #1786566 (Mark) 8 make sure they're right now in your language, bug #1786566 (Mark)
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