diff options
| author | Pavel Janík | 2002-04-03 08:39:50 +0000 |
|---|---|---|
| committer | Pavel Janík | 2002-04-03 08:39:50 +0000 |
| commit | ee8ceff81580606a252389dfc0f6c760a9095268 (patch) | |
| tree | dd1b8643f121553dc9b0a63774a4644bf5139d30 /src | |
| parent | 0b9a1d3dce5da7948a818a1051a0f63ec21ed147 (diff) | |
| download | emacs-ee8ceff81580606a252389dfc0f6c760a9095268.tar.gz emacs-ee8ceff81580606a252389dfc0f6c760a9095268.zip | |
Rename autoselect_window_p to mouse_autoselect_window.
Diffstat (limited to 'src')
| -rw-r--r-- | src/msdos.c | 10 | ||||
| -rw-r--r-- | src/w32term.c | 8 | ||||
| -rw-r--r-- | src/xterm.c | 10 |
3 files changed, 14 insertions, 14 deletions
diff --git a/src/msdos.c b/src/msdos.c index ed0950a6435..979a680e332 100644 --- a/src/msdos.c +++ b/src/msdos.c | |||
| @@ -1195,9 +1195,9 @@ static int help_echo_pos; | |||
| 1195 | 1195 | ||
| 1196 | /* Non-zero means automatically select any window when the mouse | 1196 | /* Non-zero means automatically select any window when the mouse |
| 1197 | cursor moves into it. */ | 1197 | cursor moves into it. */ |
| 1198 | int autoselect_window_p; | 1198 | int mouse_autoselect_window; |
| 1199 | 1199 | ||
| 1200 | /* Last window where we saw the mouse. Used by autoselect-window. */ | 1200 | /* Last window where we saw the mouse. Used by mouse-autoselect-window. */ |
| 1201 | static Lisp_Object last_mouse_window; | 1201 | static Lisp_Object last_mouse_window; |
| 1202 | 1202 | ||
| 1203 | static int mouse_preempted = 0; /* non-zero when XMenu gobbles mouse events */ | 1203 | static int mouse_preempted = 0; /* non-zero when XMenu gobbles mouse events */ |
| @@ -3411,7 +3411,7 @@ dos_rawgetc () | |||
| 3411 | } | 3411 | } |
| 3412 | 3412 | ||
| 3413 | /* Generate SELECT_WINDOW_EVENTs when needed. */ | 3413 | /* Generate SELECT_WINDOW_EVENTs when needed. */ |
| 3414 | if (autoselect_window_p) | 3414 | if (mouse_autoselect_window) |
| 3415 | { | 3415 | { |
| 3416 | int mouse_area; | 3416 | int mouse_area; |
| 3417 | 3417 | ||
| @@ -5366,9 +5366,9 @@ syms_of_msdos () | |||
| 5366 | This variable is used only by MSDOS terminals. */); | 5366 | This variable is used only by MSDOS terminals. */); |
| 5367 | Vdos_unsupported_char_glyph = '\177'; | 5367 | Vdos_unsupported_char_glyph = '\177'; |
| 5368 | 5368 | ||
| 5369 | DEFVAR_BOOL ("autoselect-window", &autoselect_window_p, | 5369 | DEFVAR_BOOL ("mouse-autoselect-window", &mouse_autoselect_window, |
| 5370 | doc: /* *Non-nil means autoselect window with mouse pointer. */); | 5370 | doc: /* *Non-nil means autoselect window with mouse pointer. */); |
| 5371 | autoselect_window_p = 0; | 5371 | mouse_autoselect_window_p = 0; |
| 5372 | #endif | 5372 | #endif |
| 5373 | #ifndef subprocesses | 5373 | #ifndef subprocesses |
| 5374 | DEFVAR_BOOL ("delete-exited-processes", &delete_exited_processes, | 5374 | DEFVAR_BOOL ("delete-exited-processes", &delete_exited_processes, |
diff --git a/src/w32term.c b/src/w32term.c index eccaca2ac5a..cc9bdb0f61f 100644 --- a/src/w32term.c +++ b/src/w32term.c | |||
| @@ -172,7 +172,7 @@ static int any_help_event_p; | |||
| 172 | 172 | ||
| 173 | /* Non-zero means autoselect window with the mouse cursor. */ | 173 | /* Non-zero means autoselect window with the mouse cursor. */ |
| 174 | 174 | ||
| 175 | int autoselect_window_p; | 175 | int mouse_autoselect_window; |
| 176 | 176 | ||
| 177 | /* Non-zero means draw block and hollow cursor as wide as the glyph | 177 | /* Non-zero means draw block and hollow cursor as wide as the glyph |
| 178 | under it. For example, if a block cursor is over a tab, it will be | 178 | under it. For example, if a block cursor is over a tab, it will be |
| @@ -6296,7 +6296,7 @@ note_mouse_movement (frame, msg) | |||
| 6296 | XSETFRAME (last_mouse_motion_frame, frame); | 6296 | XSETFRAME (last_mouse_motion_frame, frame); |
| 6297 | 6297 | ||
| 6298 | #if 0 /* Calling Lisp asynchronously is not safe. */ | 6298 | #if 0 /* Calling Lisp asynchronously is not safe. */ |
| 6299 | if (autoselect_window_p) | 6299 | if (mouse_autoselect_window) |
| 6300 | { | 6300 | { |
| 6301 | int area; | 6301 | int area; |
| 6302 | Lisp_Object window; | 6302 | Lisp_Object window; |
| @@ -11388,9 +11388,9 @@ affect on NT machines. */); | |||
| 11388 | staticpro (&previous_help_echo); | 11388 | staticpro (&previous_help_echo); |
| 11389 | help_echo_pos = -1; | 11389 | help_echo_pos = -1; |
| 11390 | 11390 | ||
| 11391 | DEFVAR_BOOL ("autoselect-window", &autoselect_window_p, | 11391 | DEFVAR_BOOL ("mouse-autoselect-window", &mouse_autoselect_window, |
| 11392 | doc: /* *Non-nil means autoselect window with mouse pointer. */); | 11392 | doc: /* *Non-nil means autoselect window with mouse pointer. */); |
| 11393 | autoselect_window_p = 0; | 11393 | mouse_autoselect_window = 0; |
| 11394 | 11394 | ||
| 11395 | DEFVAR_BOOL ("w32-use-visible-system-caret", | 11395 | DEFVAR_BOOL ("w32-use-visible-system-caret", |
| 11396 | &w32_use_visible_system_caret, | 11396 | &w32_use_visible_system_caret, |
diff --git a/src/xterm.c b/src/xterm.c index bf1e01198cf..93fe45977b7 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -255,9 +255,9 @@ 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 |
| @@ -10878,7 +10878,7 @@ XTread_socket (sd, bufp, numchars, expected) | |||
| 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; |
| @@ -15117,9 +15117,9 @@ syms_of_xterm () | |||
| 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. |