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
commitedff8ef4dfa53b8f96e7533a268c6b760900902e (patch)
tree44b53b3895a8b8d5fc801bf47232984653e3527a /src/term.c
parentb2e6d9c428c1e1ed53264fa6bc7084ec3deae477 (diff)
downloademacs-edff8ef4dfa53b8f96e7533a268c6b760900902e.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