aboutsummaryrefslogtreecommitdiffstats
path: root/src/termhooks.h
diff options
context:
space:
mode:
authorJim Blandy1992-06-30 13:54:21 +0000
committerJim Blandy1992-06-30 13:54:21 +0000
commite5d77022e8429ca757746ed5d7cf9e2420703e8e (patch)
tree2e273d216c8f9e34d5e29547f8e7e7c6c5d32049 /src/termhooks.h
parent53b0a6f88893036a42db2abcfbc257b68906956e (diff)
downloademacs-e5d77022e8429ca757746ed5d7cf9e2420703e8e.tar.gz
emacs-e5d77022e8429ca757746ed5d7cf9e2420703e8e.zip
*** empty log message ***
Diffstat (limited to 'src/termhooks.h')
-rw-r--r--src/termhooks.h14
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) ();
50extern void (*mouse_position_hook) ( /* SCREEN_PTR *s, 50extern 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
@@ -135,8 +135,20 @@ struct input_event {
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};