]> git.eshelyaron.com Git - emacs.git/commitdiff
(dos_rawgetc): Undo last change (there's no ``leaving selected frame''
authorEli Zaretskii <eliz@gnu.org>
Sat, 13 Oct 2007 11:54:57 +0000 (11:54 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sat, 13 Oct 2007 11:54:57 +0000 (11:54 +0000)
on MSDOS).

src/ChangeLog
src/msdos.c

index c928977d68b6c7acc8ddf430f7ce8bf87ee4e671..528e793bf11bd3e8d9046eff849792607e90f092 100644 (file)
@@ -1,3 +1,8 @@
+2007-10-13  Eli Zaretskii  <eliz@gnu.org>
+
+       * msdos.c (dos_rawgetc): Undo last change (there's no ``leaving
+       selected frame'' on MSDOS).
+
 2007-10-10  Patrick Mahan <mahan@mahan.org>  (tiny change)
 
        * macfns.c (x_create_tip_frame): Set terminal for frame.
index dc183def7532bad35b62e3cb73301ac5c5026051..fc14be2705c7b131309d3524ca9864f052eadc26 100644 (file)
@@ -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;