summaryrefslogtreecommitdiff
path: root/src/msdos.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2007-10-13 11:25:52 +0000
committerEli Zaretskii <eliz@gnu.org>2007-10-13 11:25:52 +0000
commit543bb3689e630e284a57b654f2075d30e632ce63 (patch)
treec4054cc3373c388ca4d4e3ed7c51c1a3c6191c1f /src/msdos.c
parentfe6dcbf6cbadc3199b79a449921c5bf4c868b5da (diff)
downloademacs-543bb3689e630e284a57b654f2075d30e632ce63.tar.gz
(dos_rawgetc): Undo last change (there's no ``leaving selected frame''
on MSDOS).
Diffstat (limited to 'src/msdos.c')
-rw-r--r--src/msdos.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/msdos.c b/src/msdos.c
index 2bac19e6592..ef65597f7e7 100644
--- a/src/msdos.c
+++ b/src/msdos.c
@@ -3393,13 +3393,7 @@ dos_rawgetc ()
it is active. */
if (WINDOWP (mouse_window)
&& !EQ (mouse_window, last_mouse_window)
- && !EQ (window, selected_window)
- /* For click-to-focus window managers
- create event iff we don't leave the
- selected frame. */
- && (focus_follows_mouse
- || (EQ (XWINDOW (window)->frame,
- XWINDOW (selected_window)->frame))))
+ && !EQ (mouse_window, selected_window))
{
event.kind = SELECT_WINDOW_EVENT;
event.frame_or_window = mouse_window;