Merge pull request #6596 from liusy182/restore-issue
Window position doesn't restore correctly minimize and restore window
This commit is contained in:
commit
7b6d74fdc2
1 changed files with 4 additions and 1 deletions
|
@ -121,7 +121,10 @@ bool NativeWindowViews::PreHandleMSG(
|
||||||
::GetWindowRect(GetAcceleratedWidget(), (LPRECT)l_param);
|
::GetWindowRect(GetAcceleratedWidget(), (LPRECT)l_param);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
case WM_MOVE: {
|
||||||
|
last_normal_bounds_ = GetBounds();
|
||||||
|
return false;
|
||||||
|
}
|
||||||
default:
|
default:
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue