LGUG2Z / komorebi

A tiling window manager for Windows 🍉
https://lgug2z.github.io/komorebi/
Other
9.63k stars 200 forks source link

feat: add move-new-windows-to-focused-monitor #1135

Open notTamion opened 5 days ago

notTamion commented 5 days ago

I personally prefer my windows to be spawned on the monitor i have currently selected instead of where windows decides to spawn it, so i added a config option to disable the monitor refocus when a window is shown.

This PR also fixes an issue where for some reason a FocusChange event is called before the Show event (windows terminal is doing that for me) and because of that the window is not yet in any workspace which will for 1. throw an error in the FocusChanged match and for 2. refocus the monitor regardless of the config option