Focus Follows Mouse does not stop after stopping komorebic #56

Closed
opened 2026-01-05 14:47:57 +01:00 by adam · 2 comments
Owner

Originally created by @Mojavve on GitHub (Nov 1, 2021).

Originally assigned to: @LGUG2Z on GitHub.

OS: Windows 10 
Windows Update: 20h2
Komorebi Version: v0.1.6
Autohotkey Version: 1.1.33.10

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 disable and then stopped komorebic.exe.

Originally created by @Mojavve on GitHub (Nov 1, 2021). Originally assigned to: @LGUG2Z on GitHub. ``` OS: Windows 10 Windows Update: 20h2 Komorebi Version: v0.1.6 Autohotkey Version: 1.1.33.10 ``` 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 disable` and then stopped komorebic.exe.
adam added the enhancement label 2026-01-05 14:47:57 +01:00
adam closed this issue 2026-01-05 14:47:57 +01:00
Author
Owner

@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): 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.
Author
Owner

@LGUG2Z commented on GitHub (Nov 1, 2021):

Changes implemented on the master branch. ^

@LGUG2Z commented on GitHub (Nov 1, 2021): Changes implemented on the master branch. ^
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/komorebi#56