Merge pull request #6596 from liusy182/restore-issue

Window position doesn't restore correctly minimize and restore window
This commit is contained in:
Cheng Zhao 2016-07-26 11:21:59 +09:00 committed by GitHub
commit 7b6d74fdc2

View file

@ -121,7 +121,10 @@ bool NativeWindowViews::PreHandleMSG(
::GetWindowRect(GetAcceleratedWidget(), (LPRECT)l_param);
return false;
}
case WM_MOVE: {
last_normal_bounds_ = GetBounds();
return false;
}
default:
return false;
}