Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
ee8ceff8
Commit
ee8ceff8
authored
Apr 03, 2002
by
Pavel Janík
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename autoselect_window_p to mouse_autoselect_window.
parent
0b9a1d3d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
14 deletions
+14
-14
src/msdos.c
src/msdos.c
+5
-5
src/w32term.c
src/w32term.c
+4
-4
src/xterm.c
src/xterm.c
+5
-5
No files found.
src/msdos.c
View file @
ee8ceff8
...
...
@@ -1195,9 +1195,9 @@ static int help_echo_pos;
/* Non-zero means automatically select any window when the mouse
cursor moves into it. */
int
autoselect_window
_p
;
int
mouse_
autoselect_window;
/* Last window where we saw the mouse. Used by autoselect-window. */
/* Last window where we saw the mouse. Used by
mouse-
autoselect-window. */
static Lisp_Object last_mouse_window;
static int mouse_preempted = 0; /* non-zero when XMenu gobbles mouse events */
...
...
@@ -3411,7 +3411,7 @@ dos_rawgetc ()
}
/* Generate SELECT_WINDOW_EVENTs when needed. */
if
(
autoselect_window
_p
)
if (
mouse_
autoselect_window)
{
int mouse_area;
...
...
@@ -5366,9 +5366,9 @@ syms_of_msdos ()
This variable is used only by MSDOS terminals. */);
Vdos_unsupported_char_glyph = '\177';
DEFVAR_BOOL
(
"autoselect-window"
,
&
autoselect_window
_p
,
DEFVAR_BOOL ("
mouse-
autoselect-window", &
mouse_
autoselect_window,
doc: /* *Non-nil means autoselect window with mouse pointer. */);
autoselect_window_p
=
0
;
mouse_
autoselect_window_p = 0;
#endif
#ifndef subprocesses
DEFVAR_BOOL ("delete-exited-processes", &delete_exited_processes,
...
...
src/w32term.c
View file @
ee8ceff8
...
...
@@ -172,7 +172,7 @@ static int any_help_event_p;
/* Non-zero means autoselect window with the mouse cursor. */
int autoselect_window
_p
;
int
mouse_
autoselect_window;
/* Non-zero means draw block and hollow cursor as wide as the glyph
under it. For example, if a block cursor is over a tab, it will be
...
...
@@ -6296,7 +6296,7 @@ note_mouse_movement (frame, msg)
XSETFRAME (last_mouse_motion_frame, frame);
#if 0 /* Calling Lisp asynchronously is not safe. */
if (autoselect_window
_p
)
if (
mouse_
autoselect_window)
{
int area;
Lisp_Object window;
...
...
@@ -11388,9 +11388,9 @@ affect on NT machines. */);
staticpro (&previous_help_echo);
help_echo_pos = -1;
DEFVAR_BOOL ("autoselect-window", &autoselect_window
_p
,
DEFVAR_BOOL ("
mouse-
autoselect-window", &
mouse_
autoselect_window,
doc: /* *Non-nil means autoselect window with mouse pointer. */);
autoselect_window
_p
= 0;
mouse_
autoselect_window = 0;
DEFVAR_BOOL ("w32-use-visible-system-caret",
&w32_use_visible_system_caret,
...
...
src/xterm.c
View file @
ee8ceff8
...
...
@@ -255,9 +255,9 @@ static int any_help_event_p;
/* Non-zero means autoselect window with the mouse cursor. */
int autoselect_window
_p
;
int
mouse_
autoselect_window;
/* Last window where we saw the mouse. Used by autoselect-window. */
/* Last window where we saw the mouse. Used by
mouse-
autoselect-window. */
static Lisp_Object last_window;
/* Non-zero means draw block and hollow cursor as wide as the glyph
...
...
@@ -10878,7 +10878,7 @@ XTread_socket (sd, bufp, numchars, expected)
{
/* Generate SELECT_WINDOW_EVENTs when needed. */
if (autoselect_window
_p
)
if (
mouse_
autoselect_window)
{
Lisp_Object window;
int area;
...
...
@@ -15117,9 +15117,9 @@ syms_of_xterm ()
staticpro (&previous_help_echo);
help_echo_pos = -1;
DEFVAR_BOOL ("autoselect-window", &autoselect_window
_p
,
DEFVAR_BOOL ("
mouse-
autoselect-window", &
mouse_
autoselect_window,
doc: /* *Non-nil means autoselect window with mouse pointer. */);
autoselect_window
_p
= 0;
mouse_
autoselect_window = 0;
DEFVAR_BOOL ("x-stretch-cursor", &x_stretch_cursor_p,
doc: /* *Non-nil means draw block cursor as wide as the glyph under it.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment