comparison src/xterm.c @ 44359:ff9f7aee02c8

Rename autoselect_window_p to mouse_autoselect_window.
author Pavel Janík <Pavel@Janik.cz>
date Wed, 03 Apr 2002 08:39:50 +0000
parents d50a0256aa1b
children cf3b9d517c45
comparison
equal deleted inserted replaced
44358:05ce431b76fb 44359:ff9f7aee02c8
253 253
254 static int any_help_event_p; 254 static int any_help_event_p;
255 255
256 /* Non-zero means autoselect window with the mouse cursor. */ 256 /* Non-zero means autoselect window with the mouse cursor. */
257 257
258 int autoselect_window_p; 258 int mouse_autoselect_window;
259 259
260 /* Last window where we saw the mouse. Used by autoselect-window. */ 260 /* Last window where we saw the mouse. Used by mouse-autoselect-window. */
261 static Lisp_Object last_window; 261 static Lisp_Object last_window;
262 262
263 /* Non-zero means draw block and hollow cursor as wide as the glyph 263 /* Non-zero means draw block and hollow cursor as wide as the glyph
264 under it. For example, if a block cursor is over a tab, it will be 264 under it. For example, if a block cursor is over a tab, it will be
265 drawn as wide as that tab on the display. */ 265 drawn as wide as that tab on the display. */
10876 10876
10877 if (f) 10877 if (f)
10878 { 10878 {
10879 10879
10880 /* Generate SELECT_WINDOW_EVENTs when needed. */ 10880 /* Generate SELECT_WINDOW_EVENTs when needed. */
10881 if (autoselect_window_p) 10881 if (mouse_autoselect_window)
10882 { 10882 {
10883 Lisp_Object window; 10883 Lisp_Object window;
10884 int area; 10884 int area;
10885 10885
10886 window = window_from_coordinates (f, 10886 window = window_from_coordinates (f,
15115 staticpro (&help_echo_window); 15115 staticpro (&help_echo_window);
15116 previous_help_echo = Qnil; 15116 previous_help_echo = Qnil;
15117 staticpro (&previous_help_echo); 15117 staticpro (&previous_help_echo);
15118 help_echo_pos = -1; 15118 help_echo_pos = -1;
15119 15119
15120 DEFVAR_BOOL ("autoselect-window", &autoselect_window_p, 15120 DEFVAR_BOOL ("mouse-autoselect-window", &mouse_autoselect_window,
15121 doc: /* *Non-nil means autoselect window with mouse pointer. */); 15121 doc: /* *Non-nil means autoselect window with mouse pointer. */);
15122 autoselect_window_p = 0; 15122 mouse_autoselect_window = 0;
15123 15123
15124 DEFVAR_BOOL ("x-stretch-cursor", &x_stretch_cursor_p, 15124 DEFVAR_BOOL ("x-stretch-cursor", &x_stretch_cursor_p,
15125 doc: /* *Non-nil means draw block cursor as wide as the glyph under it. 15125 doc: /* *Non-nil means draw block cursor as wide as the glyph under it.
15126 For example, if a block cursor is over a tab, it will be drawn as 15126 For example, if a block cursor is over a tab, it will be drawn as
15127 wide as that tab on the display. */); 15127 wide as that tab on the display. */);