fix: WCO not working with some window configurations (#45422)
This commit is contained in:
parent
57cf4fc846
commit
aee8ea8b10
2 changed files with 18 additions and 10 deletions
|
@ -701,6 +701,15 @@ void NativeWindowViews::Minimize() {
|
|||
}
|
||||
|
||||
void NativeWindowViews::Restore() {
|
||||
#if BUILDFLAG(IS_WIN)
|
||||
if (IsMaximized() && transparent()) {
|
||||
SetBounds(restore_bounds_, false);
|
||||
NotifyWindowRestore();
|
||||
UpdateThickFrame();
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
widget()->Restore();
|
||||
|
||||
#if BUILDFLAG(IS_WIN)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue