fix: improve the way frameless windows are handled on Windows (#16596)
* fix: improve the way frameless windows are handled on Windows * tidy up code * fix: return nullAcceleratedWidget instead of nullptr * fix: format, use reinterpret cast
This commit is contained in:
parent
49ec7e1582
commit
cbb5164cc8
6 changed files with 134 additions and 21 deletions
|
@ -242,6 +242,8 @@ class NativeWindowViews : public NativeWindow,
|
|||
|
||||
ui::WindowShowState last_window_state_;
|
||||
|
||||
gfx::Rect last_normal_placement_bounds_;
|
||||
|
||||
// There's an issue with restore on Windows, that sometimes causes the Window
|
||||
// to receive the wrong size (#2498). To circumvent that, we keep tabs on the
|
||||
// size of the window while in the normal state (not maximized, minimized or
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue