fix: window maximizing with Mica (#45456)
* fix: window maximizing with Mica * Fix rounded corners after restore
This commit is contained in:
parent
96460becf9
commit
9199d5c610
3 changed files with 75 additions and 57 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue