Commit 653dfe64 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(struct input_event): `code' is now an int.

parent e9bf89a0
...@@ -259,7 +259,10 @@ struct input_event { ...@@ -259,7 +259,10 @@ struct input_event {
/* What kind of event was this? */ /* What kind of event was this? */
enum event_kind kind; 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; enum scroll_bar_part part;
/* This field is copied into a vector while the event is in the queue, /* This field is copied into a vector while the event is in the queue,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment