mitchchn

#48752: fix: release mouse buttons on focus loss on Wayland

Merged
Created: Nov 2, 2025, 2:49:53 PM
Merged: Nov 3, 2025, 7:37:43 AM
4 comments
Target: main

Description of Change

Prevents mouse flags from being stuck when right-clicking in the titlebar, or any time when focus leaves the window when the mouse is pressed. Upstream fix: https://chromium-review.googlesource.com/c/chromium/src/+/7091872.

Fixes #48656.

Checklist

Release Notes

Notes: Fixed an issue on Wayland (Linux) where right-clicking in the titlebar could break mouse interactions.

Backports

37-x-y
Merged
PR Number
#48756
Merged At
Nov 7, 2025, 3:37:58 AM
Released In
v37.9.0
Release Date
Nov 7, 2025, 3:51:45 PM
38-x-y
Merged
PR Number
#48757
Merged At
Nov 4, 2025, 5:18:56 AM
Released In
v38.6.0
Release Date
Nov 6, 2025, 4:37:39 PM
39-x-y
Merged
PR Number
#48758
Merged At
Nov 3, 2025, 9:09:14 PM
Released In
v39.1.0
Release Date
Nov 4, 2025, 10:02:00 AM
40-x-y
Merged
PR Number
#48759
Merged At
Nov 3, 2025, 10:20:44 AM
Released In
v40.0.0-alpha.4
Release Date
Nov 6, 2025, 7:32:10 AM

Semver Impact

Major
Breaking changes
Minor
New features
Patch
Bug fixes
None
Docs, tests, etc.

Semantic Versioning helps users understand the impact of updates:

  • Major (X.y.z): Breaking changes that may require code modifications
  • Minor (x.Y.z): New features that maintain backward compatibility
  • Patch (x.y.Z): Bug fixes that don't change the API
  • None: Changes that don't affect using facing parts of Electron