Mercurial > emacs
comparison src/term.c @ 425:ff8fa788745a
*** empty log message ***
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Mon, 04 Nov 1991 23:45:55 +0000 |
parents | 36bd3a9f20e2 |
children | 31e638e8fe93 |
comparison
equal
deleted
inserted
replaced
424:a9b60e014edd | 425:ff8fa788745a |
---|---|
95 int (*update_end_hook) (); | 95 int (*update_end_hook) (); |
96 int (*set_terminal_window_hook) (); | 96 int (*set_terminal_window_hook) (); |
97 | 97 |
98 int (*read_socket_hook) (); | 98 int (*read_socket_hook) (); |
99 | 99 |
100 /* Hook for Emacs to call to tell the window-system-specific code to | 100 /* Return the current position of the mouse. This should clear |
101 enable/disable low-level tracking. The value of ENABLE tells the | 101 mouse_moved until the next motion event arrives. */ |
102 window system event handler whether it should notice or ignore | 102 void (*mouse_position_hook) ( /* SCREEN_PTR *s, |
103 subsequent mouse movement and mouse button releases. | 103 Lisp_Object *x, |
104 | 104 Lisp_Object *y, |
105 If this is 0, Emacs should assume that there is no mouse (or at | 105 Lisp_Object *time */ ); |
106 least no mouse tracking) available. | |
107 | |
108 If called with ENABLE non-zero, the window system event handler | |
109 should call set_pointer_loc with the new mouse co-ordinates | |
110 whenever the mouse moves, and enqueue a mouse button event for | |
111 button releases as well as button presses. | |
112 | |
113 If called with ENABLE zero, the window system event handler should | |
114 ignore mouse movement events, and not enqueue events for mouse | |
115 button releases. */ | |
116 int (*mouse_tracking_enable_hook) ( /* int ENABLE */ ); | |
117 | 106 |
118 /* When reading from a minibuffer in a different screen, Emacs wants | 107 /* When reading from a minibuffer in a different screen, Emacs wants |
119 to shift the highlight from the selected screen to the minibuffer's | 108 to shift the highlight from the selected screen to the minibuffer's |
120 screen; under X, this means it lies about where the focus is. | 109 screen; under X, this means it lies about where the focus is. |
121 This hook tells the window system code to re-decide where to put | 110 This hook tells the window system code to re-decide where to put |