diff src/xterm.c @ 72736:f6b18b9949d1

* xdisp.c (mouse_autoselect_window): Removed. (Vmouse_autoselect_window): New variable. DEFVAR_LISP it. * dispextern.h (mouse_autoselect_window): Remove extern. (Vmouse_autoselect_window): Add extern. * macterm.c (XTread_socket): Test Vmouse_autoselect_window instead of mouse_autoselect_window. * msdos.c (dos_rawgetc): Likewise. * w32term.c (w32_read_socket): Likewise. * xterm.c (handle_one_xevent): Likewise.
author Chong Yidong <cyd@stupidchicken.com>
date Fri, 08 Sep 2006 14:14:28 +0000
parents 73c180e96f39
children f295b430aa3a
line wrap: on
line diff
--- a/src/xterm.c	Fri Sep 08 13:25:26 2006 +0000
+++ b/src/xterm.c	Fri Sep 08 14:14:28 2006 +0000
@@ -6583,7 +6583,7 @@
           {
 
             /* Generate SELECT_WINDOW_EVENTs when needed.  */
-            if (mouse_autoselect_window)
+            if (!NILP (Vmouse_autoselect_window))
               {
                 Lisp_Object window;