Fix styling issues
This commit is contained in:
parent
fb76aaac39
commit
01ebc77228
2 changed files with 5 additions and 6 deletions
|
@ -214,10 +214,10 @@ class NativeWindowViews : public NativeWindow,
|
|||
// fullscreen), so we restore it correctly.
|
||||
gfx::Rect last_normal_bounds_;
|
||||
|
||||
// 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 sized
|
||||
// (WM_SIZE). In this case, last_normal_bounds_ should not update. We keep
|
||||
// last_normal_bounds_candidate_ as a candidate which will become valid
|
||||
// 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
|
||||
// sized (WM_SIZE). In this case, last_normal_bounds_ should not update. We
|
||||
// keep last_normal_bounds_candidate_ as a candidate which will become valid
|
||||
// last_normal_bounds_ if the moves are consecutive with no WM_SIZE event in
|
||||
// between.
|
||||
gfx::Rect last_normal_bounds_candidate_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue