Open raboof opened 5 years ago
Hmm, I might have been wrong about this being detectable through FocusIn
events. Client windows are already subscribed to FocusChangeMap
but it is not triggered when the window is clicked (which I guess makes sense, as indeed the focus doesn't change yet...)
This would be a nice addition to notion! I recently switched to notion and it has been working well, but one issue is that I constantly failed to copy things because by the time I hit Ctrl-C
my mouse moved to somewhere else. I think the onclick
behavior that you describe would match the behavior of other common desktop environments (e.g. GNOME, macOS, Windows)
mousefocus=sloppy
(the default) is focus-follows-mousemousefocus=disabled
disables focus-follows-mouse, but means the focus also doesn't shift when a window is clickedIt would be good to introduces a
mousefocus=onclick
which disables focus-follows-mouse, but updates the focus when a window is clicked. This can be detected throughFocusIn
events.