all repos — fluxbox @ a8ec9d97b918325e78469bb63c01781a0feef0e7

custom fork of the fluxbox windowmanager

don't let transient windows steal the focus from other programs
Mark Tiefenbruck mark@fluxbox.org
commit

a8ec9d97b918325e78469bb63c01781a0feef0e7

parent

ce74ed1c30d64760581599ec05030b609216feba

2 files changed, 4 insertions(+), 1 deletions(-)

jump to
M ChangeLogChangeLog

@@ -1,5 +1,8 @@

(Format: Year/Month/Day) Changes for 1.0.1: +*07/12/19: + * Don't let transient windows steal focus from other programs (Mark) + Window.cc *07/12/18: * NLS entries for Mouse Tab Focus and Click Tab Focus were switched - please make sure they're right now in your language, bug #1786566 (Mark)
M src/Window.ccsrc/Window.cc

@@ -2246,7 +2246,7 @@ }

FluxboxWindow *cur = FocusControl::focusedFbWindow(); WinClient *client = FocusControl::focusedWindow(); - if (cur && client && cur->isTyping() && + if (cur && client && (m_client->isTransient() || cur->isTyping()) && getRootTransientFor(m_client) != getRootTransientFor(client)) return false;