fix: NativeWindowViews::GetRestoredState()
can return wrong state when maximized (#46463)
fix: NativeWindowViews::GetRestoredState() returning wrong state Introduced by theaf58931
Chromium 131.0.6744.0 roll, specifically9840662 (diff-f9d7ef7)
98406626 Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Charles Kerr <charles@charleskerr.com>
This commit is contained in:
parent
8fec7adfa6
commit
0cb42911ea
1 changed files with 1 additions and 1 deletions
|
@ -1851,7 +1851,7 @@ ui::mojom::WindowShowState NativeWindowViews::GetRestoredState() {
|
||||||
return ui::mojom::WindowShowState::kMaximized;
|
return ui::mojom::WindowShowState::kMaximized;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
return ui::mojom::WindowShowState::kMinimized;
|
return ui::mojom::WindowShowState::kMaximized;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue