mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-04 22:03:48 +02:00
Make focus_follows_mouse only switch on window-boundary crossings
The previous implementation reverted any keyboard-driven window switch on the next mouse motion event because it compared the hovered window against the active window rather than against the previously hovered window. Move the focus-follows-mouse trigger into set_currently_hovered_window so it fires only when the hover ID actually transitions, which also covers OS-window-entry.
This commit is contained in:
@@ -185,6 +185,8 @@ Detailed list of changes
|
||||
|
||||
- Allow optionally dragging URLs with the mouse, see :sc:`start_simple_selection` (:pull:`9804`)
|
||||
|
||||
- Change :opt:`focus_follows_mouse` to switch the active window only when the mouse crosses into a different window, instead of on every mouse motion event. Prevents accidental mouse bumps from undoing a keyboard-driven window switch.
|
||||
|
||||
- Fix thickness of diagonal lines in box drawing characters not the same as horizontal/vertical lines (:iss:`9719`)
|
||||
|
||||
- Graphics protocol: Fix crash when handling invalid PNG image with direct transmission
|
||||
|
||||
Reference in New Issue
Block a user