Menu

#184 Add FocusProtection features

future
closed-accepted
None
5
2016-06-26
2016-06-21
No

https://github.com/luebking/fluxbox/commit/367652f321d7df1eeff6847068d3a49957b9a0bb

The apps file gets a new key
FocusProtection
supporting a comma separated list.
None : regular behavior
Lock : If this window has the focus, no other may claim it
* Deny : This window is not allowed to focus itself

I addition there's preparation for a follow-up patch to incorporate and
substitute the present FocusNewWindow feature:
Gain : Pass focus to new window
Refuse : Do not pass focus to new window

rationale:
clients stealing the focus sucks badly and while there's an input driven
timeout, that only protects actual typing flow, but if eg. vlc proceeds on
the playlist, you'll suddenly control vlc instead of your browser
(ie. typing ctrl+w doesn't close the tab, but the playlist ...)

Discussion

  • Mathias Gumz

    Mathias Gumz - 2016-06-26
    • status: open --> closed-accepted
    • assigned_to: Mathias Gumz
     

Log in to post a comment.