fix: window maximizing with Mica (#45525)
* fix: window maximizing with Mica Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com> * Fix rounded corners after restore Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com> --------- Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
parent
acfe4766d2
commit
fc697735c4
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