[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs/src w32fns.c
From: |
Jason Rumney |
Subject: |
[Emacs-diffs] emacs/src w32fns.c |
Date: |
Wed, 04 Mar 2009 13:36:35 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Jason Rumney <jasonr> 09/03/04 13:36:35
Modified files:
src : w32fns.c
Log message:
(w32_wnd_proc): Only ignore IME messages for the
characters that have already been read.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/src/w32fns.c?cvsroot=emacs&r1=1.355&r2=1.356
Patches:
Index: w32fns.c
===================================================================
RCS file: /sources/emacs/emacs/src/w32fns.c,v
retrieving revision 1.355
retrieving revision 1.356
diff -u -b -r1.355 -r1.356
--- w32fns.c 8 Feb 2009 15:34:38 -0000 1.355
+++ w32fns.c 4 Mar 2009 13:36:34 -0000 1.356
@@ -3159,10 +3159,13 @@
my_post_msg (&wmsg, hwnd, WM_UNICHAR, (WPARAM) buffer[i],
lParam);
}
- /* We output the whole string above, so ignore following ones
- until we are notified of the end of composition. */
- ignore_ime_char = 1;
+ /* Ignore the messages for the rest of the
+ characters in the string that was output above. */
+ ignore_ime_char = (size / sizeof (wchar_t)) - 1;
}
+ else
+ ignore_ime_char--;
+
break;
case WM_IME_ENDCOMPOSITION:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs/src w32fns.c,
Jason Rumney <=