Mercurial > emacs
comparison src/termhooks.h @ 732:a8d94735277e
*** empty log message ***
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Tue, 30 Jun 1992 13:54:21 +0000 |
parents | 030fb4635335 |
children | b9e81bfc7ad9 |
comparison
equal
deleted
inserted
replaced
731:5c6db33a9ef6 | 732:a8d94735277e |
---|---|
48 /* Return the current position of the mouse. This should clear | 48 /* Return the current position of the mouse. This should clear |
49 mouse_moved until the next motion event arrives. */ | 49 mouse_moved until the next motion event arrives. */ |
50 extern void (*mouse_position_hook) ( /* SCREEN_PTR *s, | 50 extern void (*mouse_position_hook) ( /* SCREEN_PTR *s, |
51 Lisp_Object *x, | 51 Lisp_Object *x, |
52 Lisp_Object *y, | 52 Lisp_Object *y, |
53 Lisp_Object *time */ ); | 53 unsigned long *time */ ); |
54 | 54 |
55 /* The window system handling code should set this if the mouse has | 55 /* The window system handling code should set this if the mouse has |
56 moved since the last call to the mouse_position_hook. Calling that | 56 moved since the last call to the mouse_position_hook. Calling that |
57 hook should clear this. */ | 57 hook should clear this. */ |
58 extern int mouse_moved; | 58 extern int mouse_moved; |
133 #endif | 133 #endif |
134 } kind; | 134 } kind; |
135 | 135 |
136 Lisp_Object code; | 136 Lisp_Object code; |
137 Lisp_Object part; | 137 Lisp_Object part; |
138 | |
139 /* This is obviously wrong, but I'm not sure what else I should do. | |
140 Obviously, this should be a SCREEN_PTR. But that would require that | |
141 every file which #includes this one should also #include "screen.h", | |
142 which would mean that files like cm.c and other innocents would be | |
143 dragged into the set of screen.h users. Maybe the definition of this | |
144 structure should be elsewhere? In its own file? */ | |
145 #ifdef MULTI_SCREEN | |
138 struct screen *screen; | 146 struct screen *screen; |
147 #else | |
148 int screen; | |
149 #endif | |
139 int modifiers; /* See enum below for interpretation. */ | 150 int modifiers; /* See enum below for interpretation. */ |
151 | |
140 Lisp_Object x, y; | 152 Lisp_Object x, y; |
141 unsigned long timestamp; | 153 unsigned long timestamp; |
142 }; | 154 }; |
143 | 155 |
144 /* Bits in the modifiers member of the input_event structure. */ | 156 /* Bits in the modifiers member of the input_event structure. */ |