Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: setContentProtection affects BrowserWindow frame #31768

Merged
merged 1 commit into from Nov 15, 2021

Conversation

deermichel
Copy link
Contributor

Description of Change

Closes #31735.

If the layered property is set before setting the affinity, the window frame disappears in some cases. Switching the order solves the issue - I believe this is a Windows bug.

cc @KazuyaHayashi

Checklist

Release Notes

Notes: Fixed window frame glitch when calling setContentProtection.

@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Nov 9, 2021
@zcbenz zcbenz added the semver/patch backwards-compatible bug fixes label Nov 10, 2021
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Nov 10, 2021
@codebytere codebytere merged commit d4abb6f into electron:main Nov 15, 2021
@release-clerk
Copy link

release-clerk bot commented Nov 15, 2021

Release Notes Persisted

Fixed window frame glitch when calling setContentProtection.

@trop
Copy link
Contributor

trop bot commented Nov 15, 2021

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

@trop
Copy link
Contributor

trop bot commented Nov 15, 2021

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

@trop
Copy link
Contributor

trop bot commented Nov 15, 2021

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

@trop
Copy link
Contributor

trop bot commented Nov 15, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/patch backwards-compatible bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: setContentProtection affects an application window behavior
3 participants