aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1993-12-23 00:54:23 +0000
committerRichard M. Stallman1993-12-23 00:54:23 +0000
commit653dfe64900e2aa511c2ce666cff1015b2ebe4ab (patch)
treeee692536da430ffbda49040d3f6eb971ba20be97
parente9bf89a0badd390433c44c2219bdf9e33de7983d (diff)
downloademacs-653dfe64900e2aa511c2ce666cff1015b2ebe4ab.tar.gz
emacs-653dfe64900e2aa511c2ce666cff1015b2ebe4ab.zip
(struct input_event): `code' is now an int.
-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 {
259 /* What kind of event was this? */ 259 /* What kind of event was this? */
260 enum event_kind kind; 260 enum event_kind kind;
261 261
262 Lisp_Object code; 262 /* For an ascii_keystroke, this is the character.
263 For a non_ascii_keystroke, this is the keysym code.
264 For a mouse event, this is the button number.
265 int code;
263 enum scroll_bar_part part; 266 enum scroll_bar_part part;
264 267
265 /* This field is copied into a vector while the event is in the queue, 268 /* This field is copied into a vector while the event is in the queue,