diff options
| author | Pavel Janík | 2002-04-01 13:45:27 +0000 |
|---|---|---|
| committer | Pavel Janík | 2002-04-01 13:45:27 +0000 |
| commit | b0981e1402780f76342bd893d74277b90e246b64 (patch) | |
| tree | d9e9f269ebeba60051af59805114ad7aea0ff423 /src | |
| parent | 5bc624834eeabb49b6c319d08bbd46f5777a9baa (diff) | |
| download | emacs-b0981e1402780f76342bd893d74277b90e246b64.tar.gz emacs-b0981e1402780f76342bd893d74277b90e246b64.zip | |
Rename x_autoselect_window_p to autoselect_window_p.
(note_mouse_movement): Put code for x_autoselect_window_p in #if 0.
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32term.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/w32term.c b/src/w32term.c index 87f9a615d1f..eccaca2ac5a 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 x_autoselect_window_p; | 175 | int autoselect_window_p; |
| 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 |
| @@ -6295,7 +6295,8 @@ note_mouse_movement (frame, msg) | |||
| 6295 | memcpy (&last_mouse_motion_event, msg, sizeof (last_mouse_motion_event)); | 6295 | memcpy (&last_mouse_motion_event, msg, sizeof (last_mouse_motion_event)); |
| 6296 | XSETFRAME (last_mouse_motion_frame, frame); | 6296 | XSETFRAME (last_mouse_motion_frame, frame); |
| 6297 | 6297 | ||
| 6298 | if (x_autoselect_window_p) | 6298 | #if 0 /* Calling Lisp asynchronously is not safe. */ |
| 6299 | if (autoselect_window_p) | ||
| 6299 | { | 6300 | { |
| 6300 | int area; | 6301 | int area; |
| 6301 | Lisp_Object window; | 6302 | Lisp_Object window; |
| @@ -6314,6 +6315,7 @@ note_mouse_movement (frame, msg) | |||
| 6314 | 6315 | ||
| 6315 | last_window=window; | 6316 | last_window=window; |
| 6316 | } | 6317 | } |
| 6318 | #endif | ||
| 6317 | 6319 | ||
| 6318 | if (msg->hwnd != FRAME_W32_WINDOW (frame)) | 6320 | if (msg->hwnd != FRAME_W32_WINDOW (frame)) |
| 6319 | { | 6321 | { |
| @@ -11386,9 +11388,9 @@ affect on NT machines. */); | |||
| 11386 | staticpro (&previous_help_echo); | 11388 | staticpro (&previous_help_echo); |
| 11387 | help_echo_pos = -1; | 11389 | help_echo_pos = -1; |
| 11388 | 11390 | ||
| 11389 | DEFVAR_BOOL ("x-autoselect-window", &x_autoselect_window_p, | 11391 | DEFVAR_BOOL ("autoselect-window", &autoselect_window_p, |
| 11390 | doc: /* *Non-nil means autoselect window with mouse pointer. */); | 11392 | doc: /* *Non-nil means autoselect window with mouse pointer. */); |
| 11391 | x_autoselect_window_p = 0; | 11393 | autoselect_window_p = 0; |
| 11392 | 11394 | ||
| 11393 | DEFVAR_BOOL ("w32-use-visible-system-caret", | 11395 | DEFVAR_BOOL ("w32-use-visible-system-caret", |
| 11394 | &w32_use_visible_system_caret, | 11396 | &w32_use_visible_system_caret, |