summaryrefslogtreecommitdiff
path: root/src/w32fns.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2018-07-07 14:30:00 +0300
committerEli Zaretskii <eliz@gnu.org>2018-07-07 14:30:00 +0300
commita427de9c86ed31b1fd7599664b3fea0733e633ee (patch)
treee56fbd1b8e98626c3f16d8560863e2b653337bca /src/w32fns.c
parent3a04e151af310ff0a283b1f05315c09baf5d7acf (diff)
downloademacs-a427de9c86ed31b1fd7599664b3fea0733e633ee.tar.gz
Fix bug #11732
* src/w32fns.c (w32_wnd_proc): Fix handling of Windows input methods. (Bug#11732)
Diffstat (limited to 'src/w32fns.c')
-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)
set_ime_composition_window_fn (context, &form);
release_ime_context_fn (hwnd, context);
}
- /* We should "goto dflt" here to pass WM_IME_STARTCOMPOSITION to
- DefWindowProc, so that the composition window will actually
- be displayed. But doing so causes trouble with displaying
- dialog boxes, such as the file selection dialog or font
- selection dialog. So something else is needed to fix the
- former without breaking the latter. See bug#11732. */
- break;
+ /* FIXME: somehow "goto dflt" here instead of "break" causes
+ popup dialogs, such as the ones shown by File->Open File and
+ w32-select-font, to become hidden behind their parent frame,
+ when focus-follows-mouse is in effect. See bug#11732. But
+ if we don't "goto dflt", users of IME cannot type text
+ supported by the input method... */
+ goto dflt;
case WM_IME_ENDCOMPOSITION:
ignore_ime_char = 0;