This is a backport PR for branch 43-x-y
#53633: feat: add ELECTRON_DEBUG_DRAGGABLE_REGIONS debugging aid
Open
Backport of #53598
See that PR for details. draggable_region_ is a std::unique_ptr<SkRegion> on this branch rather than std::optional, so the debugger hook in WebContents::DraggableRegionsChanged passes draggable_region_.get().
Notes: Added the ELECTRON_DEBUG_DRAGGABLE_REGIONS environment variable, which visualizes and logs draggable regions in unpackaged apps to help debug custom title bars.
Backport Information
Original PR Author
MarshallOfSoundOriginal PR Status
Merged
Original PR Merged At
Sep 6, 2026, 12:55:35 PM
Original PR Link
View on GitHubSemver 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