fix: window maximizing with Mica (#45456)

* fix: window maximizing with Mica

* Fix rounded corners after restore
This commit is contained in:
Shelley Vohr 2025-02-07 21:00:36 +01:00 committed by GitHub
parent 96460becf9
commit 9199d5c610
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 75 additions and 57 deletions

View file

@ -202,11 +202,9 @@ class NativeWindowViews : public NativeWindow,
void OnWidgetMove() override;
#if BUILDFLAG(IS_WIN)
bool ExecuteWindowsCommand(int command_id) override;
#endif
#if BUILDFLAG(IS_WIN)
void HandleSizeEvent(WPARAM w_param, LPARAM l_param);
void ResetWindowControls();
void SetRoundedCorners(bool rounded);
void SetForwardMouseMessages(bool forward);
static LRESULT CALLBACK SubclassProc(HWND hwnd,
UINT msg,