summaryrefslogtreecommitdiff
path: root/src/termhooks.h
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>2000-08-11 00:51:25 +0000
committerKenichi Handa <handa@m17n.org>2000-08-11 00:51:25 +0000
commitd6c05c466612d3dd76377a4bb3bdc2b321266ec6 (patch)
tree1c363326b95d186885ff8bdf3c399e9dfee2994a /src/termhooks.h
parentd1527859e1c48ec0fcc6c2b2a82241822a324216 (diff)
downloademacs-d6c05c466612d3dd76377a4bb3bdc2b321266ec6.tar.gz
(enum event_kind): New member multibyte_char_keystroke.
Diffstat (limited to 'src/termhooks.h')
-rw-r--r--src/termhooks.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/termhooks.h b/src/termhooks.h
index 010846715bc..e129fa2a8ac 100644
--- a/src/termhooks.h
+++ b/src/termhooks.h
@@ -215,6 +215,12 @@ enum event_kind
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 @@ struct input_event
/* 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. */