mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
Focus Follows Mouse does not stop after stopping komorebic #56
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Mojavve on GitHub (Nov 1, 2021).
Originally assigned to: @LGUG2Z on GitHub.
I am using the default autohotkey script and powershell to start and stop komorebic.exe. I have closed out of the ahk script, and stopped komorebi by running
komorebic.exe stop. However, moving my mouse around still focuses every window it comes across.On top of this, mouse follows focus behavior also persists if I alt tab to other windows however this is inconsistent and only happens on certain windows and not even that is consistent.
This is more or less a fresh install of Komorebi (grabbed it last night).
My solution to stopping this behavior was to start komorebic.exe again, then I used
komorebic.exe focus-follows-mouse disableand then stopped komorebic.exe.@LGUG2Z commented on GitHub (Nov 1, 2021):
The native windows implementation of FFM is not very good as you already noted. Since that option enables a systemwide flag, the behaviour persists outside of the Komorebi process. Komorebi's opt-in FFM behaviour is a lot smarter and is disabled when the process stops.
I think it is a good idea to disable the systemwide flag on process exit in both the stop command and the ctrl-c signal handler.
@LGUG2Z commented on GitHub (Nov 1, 2021):
Changes implemented on the master branch. ^