McYoloSwagHam/win3wm

[Feature request] Sync focus with keyboard focus

Picoseconds opened this issue · 3 comments

I find that the current focus system is kind of odd because I need to click on the window AND focus win3wm because they are not the same, could you add some kind of synchronization to the actual window focus?

Kind of like a two-way version of force_focus

Yeah this is one of the boxes in the TODOs section, but there is a hotkey that will focus on the current window your mouse is on it is mod+q.

https://mcyoloswagham.github.io/win3wm/hotkeys.html#focus_mouse

I want to make it automatic but it's problematic because I'm just not sure how to properly detect mouse leaving/entering, without doing some hacky shit and at the moment I'm pretty busy

Added in a09feb7
edit: Still need to update docs about "mouse_follow" option