Mercurial > emacs
diff 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 |
line wrap: on
line diff
--- a/src/termhooks.h Tue Jun 30 13:49:39 1992 +0000 +++ b/src/termhooks.h Tue Jun 30 13:54:21 1992 +0000 @@ -50,7 +50,7 @@ extern void (*mouse_position_hook) ( /* SCREEN_PTR *s, Lisp_Object *x, Lisp_Object *y, - Lisp_Object *time */ ); + unsigned long *time */ ); /* The window system handling code should set this if the mouse has moved since the last call to the mouse_position_hook. Calling that @@ -135,8 +135,20 @@ Lisp_Object code; Lisp_Object part; + +/* This is obviously wrong, but I'm not sure what else I should do. + Obviously, this should be a SCREEN_PTR. But that would require that + every file which #includes this one should also #include "screen.h", + which would mean that files like cm.c and other innocents would be + dragged into the set of screen.h users. Maybe the definition of this + structure should be elsewhere? In its own file? */ +#ifdef MULTI_SCREEN struct screen *screen; +#else + int screen; +#endif int modifiers; /* See enum below for interpretation. */ + Lisp_Object x, y; unsigned long timestamp; };
