Skip to content

fix: enable system maximization for frameless windows except if transparent - #28622

Merged
jkleinsc merged 1 commit into
12-x-yfrom
if-maximize-fix-12
Apr 13, 2021
Merged

jkleinsc merged 1 commit into
12-x-yfrom
if-maximize-fix-12

Conversation

@mlaurencin

@mlaurencin mlaurencin commented Apr 12, 2021 •

Copy link
Copy Markdown
Member

Description of Change

Backport of #28207

Checklist

Release Notes

Notes: Transparent windows cannot be maximized using the Windows system menu or by double clicking the title bar.

…parent (#28207)

* fix: move widget maximization check

* fix linting error

* change workaround to only effect transparent windows

* disable menu maximize and restore for transparent windows

* disable double clicking title bar max/unmax for transparent windows

* add docs change and address review
@electron-cation electron-cation Bot added the new-pr 🌱 PR opened recently label Apr 12, 2021
@trop trop Bot added 12-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes labels Apr 12, 2021
@electron-cation electron-cation Bot removed the new-pr 🌱 PR opened recently label Apr 12, 2021
@jkleinsc
jkleinsc merged commit 93dab14 into 12-x-y Apr 13, 2021
@jkleinsc
jkleinsc deleted the if-maximize-fix-12 branch April 13, 2021 13:49
@release-clerk

release-clerk Bot commented Apr 13, 2021

Copy link
Copy Markdown

Release Notes Persisted

Transparent windows cannot be maximized using the Windows system menu or by double clicking the title bar.

@trop

trop Bot commented Apr 13, 2021

Copy link
Copy Markdown
Contributor

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

@trop trop Bot removed the target/11-x-y label Apr 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

12-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants