aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2018-07-07 14:30:00 +0300
committerEli Zaretskii2018-07-07 14:30:00 +0300
commita427de9c86ed31b1fd7599664b3fea0733e633ee (patch)
treee56fbd1b8e98626c3f16d8560863e2b653337bca /src
parent3a04e151af310ff0a283b1f05315c09baf5d7acf (diff)
downloademacs-a427de9c86ed31b1fd7599664b3fea0733e633ee.tar.gz
emacs-a427de9c86ed31b1fd7599664b3fea0733e633ee.zip
Fix bug #11732
* src/w32fns.c (w32_wnd_proc): Fix handling of Windows input methods. (Bug#11732)
Diffstat (limited to 'src')
-rw-r--r--src/w32fns.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/w32fns.c b/src/w32fns.c
index 1b199bf54f1..b673cd31618 100644
--- a/src/w32fns.c
+++ b/src/w32fns.c
@@ -4550,13 +4550,13 @@ w32_wnd_proc (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
4550 set_ime_composition_window_fn (context, &form); 4550 set_ime_composition_window_fn (context, &form);
4551 release_ime_context_fn (hwnd, context); 4551 release_ime_context_fn (hwnd, context);
4552 } 4552 }
4553 /* We should "goto dflt" here to pass WM_IME_STARTCOMPOSITION to 4553 /* FIXME: somehow "goto dflt" here instead of "break" causes
4554 DefWindowProc, so that the composition window will actually 4554 popup dialogs, such as the ones shown by File->Open File and
4555 be displayed. But doing so causes trouble with displaying 4555 w32-select-font, to become hidden behind their parent frame,
4556 dialog boxes, such as the file selection dialog or font 4556 when focus-follows-mouse is in effect. See bug#11732. But
4557 selection dialog. So something else is needed to fix the 4557 if we don't "goto dflt", users of IME cannot type text
4558 former without breaking the latter. See bug#11732. */ 4558 supported by the input method... */
4559 break; 4559 goto dflt;
4560 4560
4561 case WM_IME_ENDCOMPOSITION: 4561 case WM_IME_ENDCOMPOSITION:
4562 ignore_ime_char = 0; 4562 ignore_ime_char = 0;