mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Windows: Fix placement of IME window (issue #1610)
This commit is contained in:
13
patch/patches/ime_1610.patch
Normal file
13
patch/patches/ime_1610.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
diff --git input_method_win.cc input_method_win.cc
|
||||
index 6961683..9072906 100644
|
||||
--- input_method_win.cc
|
||||
+++ input_method_win.cc
|
||||
@@ -26,7 +26,7 @@ static const size_t kExtraNumberOfChars = 20;
|
||||
|
||||
InputMethodWin::InputMethodWin(internal::InputMethodDelegate* delegate,
|
||||
HWND toplevel_window_handle)
|
||||
- : toplevel_window_handle_(toplevel_window_handle),
|
||||
+ : toplevel_window_handle_(::GetAncestor(toplevel_window_handle, GA_ROOT)),
|
||||
pending_requested_direction_(base::i18n::UNKNOWN_DIRECTION),
|
||||
accept_carriage_return_(false),
|
||||
active_(false),
|
Reference in New Issue
Block a user