From: Eli Zaretskii Date: Sat, 13 Oct 2007 11:25:52 +0000 (+0000) Subject: (dos_rawgetc): Undo last change (there's no ``leaving selected frame'' X-Git-Tag: emacs-pretest-22.1.90~623 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=543bb3689e630e284a57b654f2075d30e632ce63;p=emacs.git (dos_rawgetc): Undo last change (there's no ``leaving selected frame'' on MSDOS). --- diff --git a/src/ChangeLog b/src/ChangeLog index e6c3e1d40a6..b42c75ab75a 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-12 Martin Rudalics * frame.c (Qexplicit_name): New variable. 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;