comparison src/termhooks.h @ 83408:39bb10ce301a

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
author Karoly Lorentey <lorentey@elte.hu>
date Sun, 11 Dec 2005 22:42:40 +0000
parents 532e0a9335a9 d74c30ee3772
children 521d3f18b3d1
comparison
equal deleted inserted replaced
83407:37d0562504bf 83408:39bb10ce301a
127 #ifdef WINDOWSNT 127 #ifdef WINDOWSNT
128 W32_SCROLL_BAR_CLICK_EVENT, /* as for SCROLL_BAR_CLICK, but only generated 128 W32_SCROLL_BAR_CLICK_EVENT, /* as for SCROLL_BAR_CLICK, but only generated
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". */
136 MENU_BAR_EVENT, /* An event generated by the menu bar. 136 MENU_BAR_EVENT, /* An event generated by the menu bar.
137 The frame_or_window field's cdr holds the 137 The frame_or_window field's cdr holds the
175 /* Generated when mouse moves over window not currently selected. */ 175 /* Generated when mouse moves over window not currently selected. */
176 SELECT_WINDOW_EVENT, 176 SELECT_WINDOW_EVENT,
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
189 a window system event. These get turned into their lispy forms when 199 a window system event. These get turned into their lispy forms when
190 they are removed from the event queue. */ 200 they are removed from the event queue. */
206 216
207 Lisp_Object x, y; 217 Lisp_Object x, y;
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,
215 so that garbage collections won't kill it. */ 225 so that garbage collections won't kill it. */
216 /* In a menu_bar_event, this is a cons cell whose car is the frame 226 /* In a menu_bar_event, this is a cons cell whose car is the frame