aboutsummaryrefslogtreecommitdiffstats
path: root/src/termhooks.h
diff options
context:
space:
mode:
authorKaroly Lorentey2005-12-11 22:42:40 +0000
committerKaroly Lorentey2005-12-11 22:42:40 +0000
commitbe3d2d66d2dff979604134c5dc5fb506ded4aa54 (patch)
tree683fc7324392d0023e995b593a627c294375aba1 /src/termhooks.h
parent16986fcfcca94e88e620c38775e15f758aa44935 (diff)
parentac8fcf0f17ab5d81f3b30db5599337d000ad12d9 (diff)
downloademacs-be3d2d66d2dff979604134c5dc5fb506ded4aa54.tar.gz
emacs-be3d2d66d2dff979604134c5dc5fb506ded4aa54.zip
Merged in changes from CVS trunk.
Patches applied: * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-667 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-668 Merge from gnus--rel--5.10 * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-669 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-670 Update from CVS * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-157 Merge from emacs--cvs-trunk--0 * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-158 Update from CVS * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-159 Update from CVS * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-160 Update from CVS * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-161 Update from CVS * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-162 Update from CVS * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-163 Update from CVS * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-164 Update from CVS * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-165 Update from CVS: texi/message.texi: Fix default values. * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-166 Update from CVS * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-167 Update from CVS * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-168 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-448
Diffstat (limited to 'src/termhooks.h')
-rw-r--r--src/termhooks.h18
1 files changed, 14 insertions, 4 deletions
diff --git a/src/termhooks.h b/src/termhooks.h
index 3fea7c366fb..cb68c9e2c27 100644
--- a/src/termhooks.h
+++ b/src/termhooks.h
@@ -129,7 +129,7 @@ enum event_kind
129 by MS-Windows scroll bar controls. */ 129 by MS-Windows scroll bar controls. */
130#endif 130#endif
131 SELECTION_REQUEST_EVENT, /* Another X client wants a selection from us. 131 SELECTION_REQUEST_EVENT, /* Another X client wants a selection from us.
132 See `struct selection_event'. */ 132 See `struct selection_input_event'. */
133 SELECTION_CLEAR_EVENT, /* Another X client cleared our selection. */ 133 SELECTION_CLEAR_EVENT, /* Another X client cleared our selection. */
134 BUFFER_SWITCH_EVENT, /* A process filter has switched buffers. */ 134 BUFFER_SWITCH_EVENT, /* A process filter has switched buffers. */
135 DELETE_WINDOW_EVENT, /* An X client said "delete this window". */ 135 DELETE_WINDOW_EVENT, /* An X client said "delete this window". */
@@ -177,12 +177,22 @@ enum event_kind
177 177
178 /* Queued from XTread_socket when session manager sends 178 /* Queued from XTread_socket when session manager sends
179 save yourself before shutdown. */ 179 save yourself before shutdown. */
180 SAVE_SESSION_EVENT 180 SAVE_SESSION_EVENT,
181
182#ifdef MAC_OS
183 /* Generated when an Apple event, a HICommand event, or a Services
184 menu event is received and the corresponding handler is
185 registered. Members `x' and `y' are for the event class and ID
186 symbols, respectively. Member `code' points to the Apple event
187 descriptor. Parameters for Non-Apple events are converted to
188 those in Apple events. */
189 MAC_APPLE_EVENT
190#endif
181}; 191};
182 192
183/* If a struct input_event has a kind which is SELECTION_REQUEST_EVENT 193/* If a struct input_event has a kind which is SELECTION_REQUEST_EVENT
184 or SELECTION_CLEAR_EVENT, then its contents are really described 194 or SELECTION_CLEAR_EVENT, then its contents are really described
185 by `struct selection_event'; see xterm.h. */ 195 by `struct selection_input_event'; see xterm.h. */
186 196
187/* The keyboard input buffer is an array of these structures. Each one 197/* The keyboard input buffer is an array of these structures. Each one
188 represents some sort of input event - a keystroke, a mouse click, or 198 represents some sort of input event - a keystroke, a mouse click, or
@@ -208,7 +218,7 @@ struct input_event
208 unsigned long timestamp; 218 unsigned long timestamp;
209 219
210 /* This is padding just to put the frame_or_window field 220 /* This is padding just to put the frame_or_window field
211 past the size of struct selection_event. */ 221 past the size of struct selection_input_event. */
212 int *padding[2]; 222 int *padding[2];
213 223
214 /* This field is copied into a vector while the event is in the queue, 224 /* This field is copied into a vector while the event is in the queue,