aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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,