fix: calculate frame when setting window placement (#25014)

This commit is contained in:
Cheng Zhao 2020-08-20 04:34:15 +09:00 committed by GitHub
parent 9021843850
commit 52d7afa4ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 33 additions and 8 deletions

View file

@ -278,8 +278,8 @@ class NativeWindowViews : public NativeWindow,
// Set to true if the window is always on top and behind the task bar.
bool behind_task_bar_ = false;
// Whether to block Chromium from handling window messages.
bool block_chromium_message_handler_ = false;
// Whether we want to set window placement without side effect.
bool is_setting_window_placement_ = false;
#endif
// Handles unhandled keyboard messages coming back from the renderer process.