mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-01-29 18:49:52 +01:00
047e8f9349
- Building on macOS now requires the 10.15 SDK. Xcode 11.3 is recommended as Xcode 11.4 is not currently supported (see https://crbug.com/1065146). - Jumbo build configuration is no longer supported. Chromium is skipping the M82 release and consequently no CEF 4085 branch will be created. For details on the Chromium decision see https://groups.google.com/a/chromium.org/d/msg/chromium-dev/Vn7uzglqLz0/JItlSrZxBAAJ
16 lines
804 B
Diff
16 lines
804 B
Diff
diff --git ui/base/ime/win/input_method_win_base.cc ui/base/ime/win/input_method_win_base.cc
|
|
index 83850840d83b..3d5ffcc54f1e 100644
|
|
--- ui/base/ime/win/input_method_win_base.cc
|
|
+++ ui/base/ime/win/input_method_win_base.cc
|
|
@@ -263,8 +263,9 @@ bool InputMethodWinBase::IsWindowFocused(const TextInputClient* client) const {
|
|
// receiving keyboard input as long as it is an active window. This works well
|
|
// even when the |attached_window_handle| becomes active but has not received
|
|
// WM_FOCUS yet.
|
|
+ // With CEF |toplevel_window_handle_| may be a child window.
|
|
return toplevel_window_handle_ &&
|
|
- GetActiveWindow() == toplevel_window_handle_;
|
|
+ GetActiveWindow() == ::GetAncestor(toplevel_window_handle_, GA_ROOT);
|
|
}
|
|
|
|
LRESULT InputMethodWinBase::OnChar(HWND window_handle,
|