From bc82f12000ee71f93572004267b05008df6a870e Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 13 Oct 2007 11:54:57 +0000 Subject: [PATCH] (dos_rawgetc): Undo last change (there's no ``leaving selected frame'' on MSDOS). --- src/ChangeLog | 5 +++++ src/msdos.c | 8 +------- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index c928977d68b..528e793bf11 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2007-10-13 Eli Zaretskii + + * msdos.c (dos_rawgetc): Undo last change (there's no ``leaving + selected frame'' on MSDOS). + 2007-10-10 Patrick Mahan (tiny change) * macfns.c (x_create_tip_frame): Set terminal for frame. diff --git a/src/msdos.c b/src/msdos.c index dc183def753..fc14be2705c 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; -- 2.39.5