172 |
|
|
173 |
/* Non-zero means autoselect window with the mouse cursor. */ |
/* Non-zero means autoselect window with the mouse cursor. */ |
174 |
|
|
175 |
int x_autoselect_window_p; |
int autoselect_window_p; |
176 |
|
|
177 |
/* Non-zero means draw block and hollow cursor as wide as the glyph |
/* 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 |
under it. For example, if a block cursor is over a tab, it will be |
6295 |
memcpy (&last_mouse_motion_event, msg, sizeof (last_mouse_motion_event)); |
memcpy (&last_mouse_motion_event, msg, sizeof (last_mouse_motion_event)); |
6296 |
XSETFRAME (last_mouse_motion_frame, frame); |
XSETFRAME (last_mouse_motion_frame, frame); |
6297 |
|
|
6298 |
if (x_autoselect_window_p) |
#if 0 /* Calling Lisp asynchronously is not safe. */ |
6299 |
|
if (autoselect_window_p) |
6300 |
{ |
{ |
6301 |
int area; |
int area; |
6302 |
Lisp_Object window; |
Lisp_Object window; |
6315 |
|
|
6316 |
last_window=window; |
last_window=window; |
6317 |
} |
} |
6318 |
|
#endif |
6319 |
|
|
6320 |
if (msg->hwnd != FRAME_W32_WINDOW (frame)) |
if (msg->hwnd != FRAME_W32_WINDOW (frame)) |
6321 |
{ |
{ |
11388 |
staticpro (&previous_help_echo); |
staticpro (&previous_help_echo); |
11389 |
help_echo_pos = -1; |
help_echo_pos = -1; |
11390 |
|
|
11391 |
DEFVAR_BOOL ("x-autoselect-window", &x_autoselect_window_p, |
DEFVAR_BOOL ("autoselect-window", &autoselect_window_p, |
11392 |
doc: /* *Non-nil means autoselect window with mouse pointer. */); |
doc: /* *Non-nil means autoselect window with mouse pointer. */); |
11393 |
x_autoselect_window_p = 0; |
autoselect_window_p = 0; |
11394 |
|
|
11395 |
DEFVAR_BOOL ("w32-use-visible-system-caret", |
DEFVAR_BOOL ("w32-use-visible-system-caret", |
11396 |
&w32_use_visible_system_caret, |
&w32_use_visible_system_caret, |