summaryrefslogtreecommitdiff
path: root/src/termhooks.h
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1993-12-23 00:54:23 +0000
committerRichard M. Stallman <rms@gnu.org>1993-12-23 00:54:23 +0000
commit5b652460d9201bc55a56ade72dec2691abe7cc36 (patch)
tree84605c648c79e5a8fe366afa0230dd50f83b08f1 /src/termhooks.h
parent8ca66cdf417fefcd1b202d00e7e99b5a87538196 (diff)
downloademacs-5b652460d9201bc55a56ade72dec2691abe7cc36.tar.gz
(struct input_event): `code' is now an int.
Diffstat (limited to 'src/termhooks.h')
-rw-r--r--src/termhooks.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/termhooks.h b/src/termhooks.h
index 06770c348eb..d9abb3e72ce 100644
--- a/src/termhooks.h
+++ b/src/termhooks.h
@@ -259,7 +259,10 @@ struct input_event {
/* What kind of event was this? */
enum event_kind kind;
- Lisp_Object code;
+ /* For an ascii_keystroke, this is the character.
+ For a non_ascii_keystroke, this is the keysym code.
+ For a mouse event, this is the button number.
+ int code;
enum scroll_bar_part part;
/* This field is copied into a vector while the event is in the queue,