You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix focus_follows_mouse switching active window on desktop return
When returning to a desktop/space, enter_event fires and detects the
window under the cursor, triggering focus_follows_mouse to switch focus
even though the mouse didn't cross a window boundary. Add a focus_follows
parameter to set_currently_hovered_window so enter_event can update hover
state without triggering focus switching. Normal mouse motion still
switches focus on boundary crossings as before.
Copy file name to clipboardExpand all lines: docs/changelog.rst
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -187,6 +187,8 @@ Detailed list of changes
187
187
188
188
- 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.
189
189
190
+
- Fix :opt:`focus_follows_mouse` switching the active window when returning from another desktop/space, instead of preserving the previously active window.
191
+
190
192
- Wayland: Use hold gestures to cancel momentum scrolling when fingers are placed on the trackpad, for a more natural kinetic scrolling experience (:iss:`9863`)
191
193
192
194
- Fix thickness of diagonal lines in box drawing characters not the same as horizontal/vertical lines (:iss:`9719`)
0 commit comments