mirror of
https://github.com/electron/electron.git
synced 2026-02-26 03:01:17 -05:00
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. Co-authored-by: Cezary Kulakowski <cezary@openfin.co>