[BUG]: focus_follows_mouse static config option doesn't call Windows API to enable FFM #270

Closed
opened 2026-01-05 14:49:23 +01:00 by adam · 0 comments
Owner

Originally created by @LGUG2Z on GitHub (Nov 29, 2023).

Originally assigned to: @LGUG2Z on GitHub.

Describe the bug
When setting focus_follows_mouse: "Windows" in the static configuration file, WindowsApi::enable_focus_follows_mouse is not called, and the user must call the komorebic toggle-focus-follows-mouse command manually to activate the behaviour.

To Reproduce
Steps to reproduce the behavior:

  1. Set focus_follows_mouse to "Windows"
  2. Let the configuration reload
  3. FFM is not loaded at the Windows API level

Expected behavior
WindowsApi::enable_focus_follows_mouse should be called and the FFM behaviour should begin immediately

Screenshots and Videos
N/A

Operating System

OS Name:                   Microsoft Windows 11 Pro
OS Version:                10.0.22621 N/A Build 22621

komorebic check Output

KOMOREBI_CONFIG_HOME detected: C:\Users\LGUG2Z\.config\komorebi

Looking for configuration files in C:\Users\LGUG2Z\.config\komorebi

Found komorebi.json; this file can be passed to the start command with the --config flag
Found ~/.config/whkdrc; key bindings will be loaded from here when whkd is started, and you can start it automatically using the --whkd flag

Additional context
Reported by user R3DLOBST3R on Discord

Originally created by @LGUG2Z on GitHub (Nov 29, 2023). Originally assigned to: @LGUG2Z on GitHub. **Describe the bug** When setting `focus_follows_mouse: "Windows"` in the static configuration file, `WindowsApi::enable_focus_follows_mouse` is not called, and the user must call the `komorebic toggle-focus-follows-mouse` command manually to activate the behaviour. **To Reproduce** Steps to reproduce the behavior: 1. Set `focus_follows_mouse` to `"Windows"` 2. Let the configuration reload 3. FFM is not loaded at the Windows API level **Expected behavior** `WindowsApi::enable_focus_follows_mouse` should be called and the FFM behaviour should begin immediately **Screenshots and Videos** N/A **Operating System** ``` OS Name: Microsoft Windows 11 Pro OS Version: 10.0.22621 N/A Build 22621 ``` **`komorebic check` Output** ``` KOMOREBI_CONFIG_HOME detected: C:\Users\LGUG2Z\.config\komorebi Looking for configuration files in C:\Users\LGUG2Z\.config\komorebi Found komorebi.json; this file can be passed to the start command with the --config flag Found ~/.config/whkdrc; key bindings will be loaded from here when whkd is started, and you can start it automatically using the --whkd flag ``` **Additional context** Reported by user R3DLOBST3R on Discord
adam added the bug label 2026-01-05 14:49:23 +01:00
adam closed this issue 2026-01-05 14:49:23 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/komorebi#270