# HG changeset patch # User Kenichi Handa # Date 965955085 0 # Node ID e96da8e19cef81790ce2721435a3449d57366a0f # Parent 7a0d5d24269e614117c3bb38c0be65060e55d88f (enum event_kind): New member multibyte_char_keystroke. diff -r 7a0d5d24269e -r e96da8e19cef src/termhooks.h --- a/src/termhooks.h Fri Aug 11 00:50:51 2000 +0000 +++ b/src/termhooks.h Fri Aug 11 00:51:25 2000 +0000 @@ -215,6 +215,12 @@ which the key was typed. .timestamp gives a timestamp (in milliseconds) for the keystroke. */ + multibyte_char_keystroke, /* The multibye char code is in .code, + perhaps with modifiers applied. + The others are the same as + ascii_keystroke. This type of event + is generated only when we are using + XIM on X window. */ non_ascii_keystroke, /* .code is a number identifying the function key. A code N represents a key whose name is @@ -337,7 +343,8 @@ /* What kind of event was this? */ int kind; - /* For an ascii_keystroke, this is the character. + /* For an ascii_keystroke and multibyte_char_keystroke, this is the + character. For a non_ascii_keystroke, this is the keysym code. For a mouse event, this is the button number. */ /* In WindowsNT, for a mouse wheel event, this is the delta. */