summaryrefslogtreecommitdiff
path: root/src/term.c
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1991-11-04 23:45:55 +0000
committerJim Blandy <jimb@redhat.com>1991-11-04 23:45:55 +0000
commit69a46d1c0b461b854df23c297502cf95163aba68 (patch)
tree1c56cff40bf1528516fab778aabb6e34ad95bb13 /src/term.c
parent8828b3939d4b391fa8a31c396f34cf605d0271f8 (diff)
downloademacs-69a46d1c0b461b854df23c297502cf95163aba68.tar.gz
*** empty log message ***
Diffstat (limited to 'src/term.c')
-rw-r--r--src/term.c23
1 files changed, 6 insertions, 17 deletions
diff --git a/src/term.c b/src/term.c
index 85e6bdc39e2..1f8d463bfc8 100644
--- a/src/term.c
+++ b/src/term.c
@@ -97,23 +97,12 @@ int (*set_terminal_window_hook) ();
int (*read_socket_hook) ();
-/* Hook for Emacs to call to tell the window-system-specific code to
- enable/disable low-level tracking. The value of ENABLE tells the
- window system event handler whether it should notice or ignore
- subsequent mouse movement and mouse button releases.
-
- If this is 0, Emacs should assume that there is no mouse (or at
- least no mouse tracking) available.
-
- If called with ENABLE non-zero, the window system event handler
- should call set_pointer_loc with the new mouse co-ordinates
- whenever the mouse moves, and enqueue a mouse button event for
- button releases as well as button presses.
-
- If called with ENABLE zero, the window system event handler should
- ignore mouse movement events, and not enqueue events for mouse
- button releases. */
-int (*mouse_tracking_enable_hook) ( /* int ENABLE */ );
+/* Return the current position of the mouse. This should clear
+ mouse_moved until the next motion event arrives. */
+void (*mouse_position_hook) ( /* SCREEN_PTR *s,
+ Lisp_Object *x,
+ Lisp_Object *y,
+ Lisp_Object *time */ );
/* When reading from a minibuffer in a different screen, Emacs wants
to shift the highlight from the selected screen to the minibuffer's