Fix maximize --> unmaximize positioning issue
This commit is contained in:
parent
c65033a13b
commit
621a934160
2 changed files with 11 additions and 4 deletions
|
@ -216,6 +216,7 @@ class NativeWindowViews : public NativeWindow,
|
|||
// size of the window while in the normal state (not maximized, minimized or
|
||||
// fullscreen), so we restore it correctly.
|
||||
gfx::Rect last_normal_bounds_;
|
||||
gfx::Rect last_normal_bounds_before_move_;
|
||||
|
||||
// last_normal_bounds_ may or may not require update on WM_MOVE. When a
|
||||
// window is maximized, it is moved (WM_MOVE) to maximum size first and then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue