Mercurial > emacs
comparison 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 |
comparison
equal
deleted
inserted
replaced
72735:7aa792eb8367 | 72736:f6b18b9949d1 |
---|---|
6581 | 6581 |
6582 if (f) | 6582 if (f) |
6583 { | 6583 { |
6584 | 6584 |
6585 /* Generate SELECT_WINDOW_EVENTs when needed. */ | 6585 /* Generate SELECT_WINDOW_EVENTs when needed. */ |
6586 if (mouse_autoselect_window) | 6586 if (!NILP (Vmouse_autoselect_window)) |
6587 { | 6587 { |
6588 Lisp_Object window; | 6588 Lisp_Object window; |
6589 | 6589 |
6590 window = window_from_coordinates (f, | 6590 window = window_from_coordinates (f, |
6591 event.xmotion.x, event.xmotion.y, | 6591 event.xmotion.x, event.xmotion.y, |