Skip to content

fix: draggable regions on MAS#37466

Merged
nornagon merged 2 commits intomainfrom
fix-mas-draggable-regions
Mar 2, 2023
Merged

fix: draggable regions on MAS#37466
nornagon merged 2 commits intomainfrom
fix-mas-draggable-regions

Conversation

@nornagon
Copy link
Contributor

@nornagon nornagon commented Mar 1, 2023

Description of Change

This makes draggable regions work on MAS builds again, after they broke in
#35603.

The mas_disable_custom_window_frame.patch patch prevents the Chrome custom frame from being used on MAS, but the new draggable regions impl on macOS requires it, so we need to find another way of getting this behavior without tripping the MAS guards.

Fixes #37414.

Checklist

Release Notes

Notes: Fixed draggable regions not working in Mac App Store builds.

@nornagon nornagon added semver/patch backwards-compatible bug fixes target/23-x-y PR should also be added to the "23-x-y" branch. target/24-x-y PR should also be added to the "24-x-y" branch. labels Mar 1, 2023
@electron-cation electron-cation bot added the new-pr 🌱 PR opened recently label Mar 1, 2023
Copy link
Member

@MarshallOfSound MarshallOfSound left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Terrifying, I love it. One non-blocking nit on the dcheck

@nornagon nornagon merged commit 76c825d into main Mar 2, 2023
@nornagon nornagon deleted the fix-mas-draggable-regions branch March 2, 2023 19:21
@release-clerk
Copy link

release-clerk bot commented Mar 2, 2023

Release Notes Persisted

Fixed draggable regions not working in Mac App Store builds.

@trop
Copy link
Contributor

trop bot commented Mar 2, 2023

I have automatically backported this PR to "23-x-y", please check out #37473

@trop trop bot added the in-flight/23-x-y label Mar 2, 2023
@trop
Copy link
Contributor

trop bot commented Mar 2, 2023

I have automatically backported this PR to "24-x-y", please check out #37474

@trop trop bot added in-flight/24-x-y merged/24-x-y PR was merged to the "24-x-y" branch merged/23-x-y PR was merged to the "23-x-y" branch. and removed target/23-x-y PR should also be added to the "23-x-y" branch. target/24-x-y PR should also be added to the "24-x-y" branch. in-flight/24-x-y labels Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merged/23-x-y PR was merged to the "23-x-y" branch. merged/24-x-y PR was merged to the "24-x-y" branch new-pr 🌱 PR opened recently semver/patch backwards-compatible bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Frameless window is not draggable when running MAS build

3 participants