summaryrefslogtreecommitdiff
path: root/src/msdos.c
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2006-09-08 14:14:28 +0000
committerChong Yidong <cyd@stupidchicken.com>2006-09-08 14:14:28 +0000
commit92b2332318a23f84c60088380d4c0ea07e17d1bb (patch)
tree427c440538eb722838203447ecdf6ce00e18a031 /src/msdos.c
parentecc0a2ceccaaaec5d63eeb105b200d513215434b (diff)
downloademacs-92b2332318a23f84c60088380d4c0ea07e17d1bb.tar.gz
* 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.
Diffstat (limited to 'src/msdos.c')
-rw-r--r--src/msdos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/msdos.c b/src/msdos.c
index 2068af544ac..61e167a1946 100644
--- a/src/msdos.c
+++ b/src/msdos.c
@@ -3381,7 +3381,7 @@ dos_rawgetc ()
}
/* Generate SELECT_WINDOW_EVENTs when needed. */
- if (mouse_autoselect_window)
+ if (!NILP (Vmouse_autoselect_window))
{
mouse_window = window_from_coordinates (SELECTED_FRAME(),
mouse_last_x,