diff options
author | Jim Blandy <jimb@redhat.com> | 1992-06-30 13:54:21 +0000 |
---|---|---|
committer | Jim Blandy <jimb@redhat.com> | 1992-06-30 13:54:21 +0000 |
commit | 8a097b5b08f3e017994e2df07a618d58fc023df3 (patch) | |
tree | daa1bb7d7f8787084cece10dbc017eaf68cfab16 /src/termhooks.h | |
parent | c46996887ff22382a0c27c882a38ddcdd5e71415 (diff) | |
download | emacs-8a097b5b08f3e017994e2df07a618d58fc023df3.tar.gz |
*** empty log message ***
Diffstat (limited to 'src/termhooks.h')
-rw-r--r-- | src/termhooks.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/termhooks.h b/src/termhooks.h index b9363eb16d7..5b5cac7315e 100644 --- a/src/termhooks.h +++ b/src/termhooks.h @@ -50,7 +50,7 @@ extern int (*read_socket_hook) (); 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 @@ struct input_event { 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; }; |