mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Windows: Use WS_EX_NOACTIVATE to control initial window activation (issue #1856)
This commit is contained in:
@@ -41,6 +41,9 @@ void BrowserWindowOsrWin::GetPopupConfig(CefWindowHandle temp_handle,
|
||||
windowInfo.external_begin_frame_enabled =
|
||||
osr_window_->settings().external_begin_frame_enabled;
|
||||
|
||||
// Don't activate the hidden browser on creation.
|
||||
windowInfo.ex_style |= WS_EX_NOACTIVATE;
|
||||
|
||||
client = client_handler_;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user