#48752: fix: release mouse buttons on focus loss on Wayland
Merged
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
- PR description included and stakeholders cc'd
-
npm testpasses - PR release notes describe the change in a way relevant to app developers, and are capitalized, punctuated, and past tense.
Release Notes
Notes: Fixed an issue on Wayland (Linux) where right-clicking in the titlebar could break mouse interactions.
Backports
37-x-y
MergedPR Number
#48756Merged At
Nov 7, 2025, 3:37:58 AM
Released In
v37.9.0Release Date
Nov 7, 2025, 3:51:45 PM
38-x-y
MergedPR Number
#48757Merged At
Nov 4, 2025, 5:18:56 AM
Released In
v38.6.0Release Date
Nov 6, 2025, 4:37:39 PM
39-x-y
MergedPR Number
#48758Merged At
Nov 3, 2025, 9:09:14 PM
Released In
v39.1.0Release Date
Nov 4, 2025, 10:02:00 AM
40-x-y
MergedPR Number
#48759Merged At
Nov 3, 2025, 10:20:44 AM
Released In
v40.0.0-alpha.4Release 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