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: update Windows' cache after changing window's style #31081

Conversation

@trop
Copy link
Contributor

@trop trop bot commented Sep 23, 2021

Backport of #31021

See that PR for details.

Notes: fixed black border around the page after resizing is disabled

To enable/disable window resizing we set/unset WS_THICKFRAME style
flag on the window. Window's frame styles are cached so we need to
call SetWindowPos with the SWP_FRAMECHANGED flag set to update
cache properly.
zcbenz
zcbenz approved these changes Sep 23, 2021
@zcbenz zcbenz merged commit 71fcb8d into 15-x-y Sep 23, 2021
13 of 15 checks passed
Loading
@zcbenz zcbenz deleted the trop/15-x-y-bp-fix-update-windows-cache-after-changing-window-s-style-1632382439691 branch Sep 23, 2021
@release-clerk
Copy link

@release-clerk release-clerk bot commented Sep 23, 2021

Release Notes Persisted

fixed black border around the page after resizing is disabled

Loading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants