mirror of
https://github.com/electron/electron.git
synced 2026-01-27 16:28:23 -05:00
Merge pull request #6596 from liusy182/restore-issue
Window position doesn't restore correctly minimize and restore window
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user