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 | e5d77022e8429ca757746ed5d7cf9e2420703e8e (patch) | |
tree | 2e273d216c8f9e34d5e29547f8e7e7c6c5d32049 /src/termhooks.h | |
parent | 53b0a6f88893036a42db2abcfbc257b68906956e (diff) | |
download | emacs-e5d77022e8429ca757746ed5d7cf9e2420703e8e.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; }; |