Remove pad from struct input_event.
authorDmitry Antipov <dmantipov@yandex.ru>
Fri, 2 Nov 2012 09:44:08 +0000 (13:44 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Fri, 2 Nov 2012 09:44:08 +0000 (13:44 +0400)
commit2b371ff75d64fb34466119e33f5cbb2c5eb27364
tree0f1ac88cdd34916d10f02aa6a738a5473f136be8
parent052f924a01f8a65ca0bfc9e6584302613e019489
Remove pad from struct input_event.
* termhooks.h (struct input_event): Remove padding field.
Adjust comment.
* keyboard.c (event_to_kboard): Simplify because frame_or_window
member is never cons for a long time.  Adjust comment.
(mark_kboards): Adjust because SELECTION_REQUEST_EVENT and
SELECTION_CLEAR_EVENT has no Lisp_Objects to mark.  Add comment.
* xterm.c (handle_one_xevent): Do not initialize frame_or_window
field of SELECTION_REQUEST_EVENT and SELECTION_CLEAR_EVENT.
src/ChangeLog
src/keyboard.c
src/termhooks.h
src/xterm.c