changeset 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 05ce431b76fb
children f419dab4088c
files src/msdos.c src/w32term.c src/xterm.c
diffstat 3 files changed, 16 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/src/msdos.c	Wed Apr 03 08:36:56 2002 +0000
+++ b/src/msdos.c	Wed Apr 03 08:39:50 2002 +0000
@@ -1195,9 +1195,9 @@
 
 /* Non-zero means automatically select any window when the mouse
    cursor moves into it.  */
-int autoselect_window_p;
-
-/* Last window where we saw the mouse.  Used by autoselect-window.  */
+int mouse_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 @@
 	    }
 
 	  /* Generate SELECT_WINDOW_EVENTs when needed.  */
-	  if (autoselect_window_p)
+	  if (mouse_autoselect_window)
 	    {
 	      int mouse_area;
 
@@ -5366,9 +5366,9 @@
 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,
--- a/src/w32term.c	Wed Apr 03 08:36:56 2002 +0000
+++ b/src/w32term.c	Wed Apr 03 08:39:50 2002 +0000
@@ -172,7 +172,7 @@
 
 /* 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 @@
   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 @@
   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,
--- a/src/xterm.c	Wed Apr 03 08:36:56 2002 +0000
+++ b/src/xterm.c	Wed Apr 03 08:39:50 2002 +0000
@@ -255,9 +255,9 @@
 
 /* Non-zero means autoselect window with the mouse cursor.  */
 
-int autoselect_window_p;
-
-/* Last window where we saw the mouse.  Used by autoselect-window.  */
+int mouse_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 @@
 		  {
 
 		    /* Generate SELECT_WINDOW_EVENTs when needed.  */
-		    if (autoselect_window_p)
+		    if (mouse_autoselect_window)
 		      {
 			Lisp_Object window;
 			int area;
@@ -15117,9 +15117,9 @@
   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.