diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2006-09-08 14:14:28 +0000 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2006-09-08 14:14:28 +0000 |
commit | 92b2332318a23f84c60088380d4c0ea07e17d1bb (patch) | |
tree | 427c440538eb722838203447ecdf6ce00e18a031 /src/msdos.c | |
parent | ecc0a2ceccaaaec5d63eeb105b200d513215434b (diff) | |
download | emacs-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.c | 2 |
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, |