changeset 85240:fef91478db10

(dos_rawgetc): Undo last change (there's no ``leaving selected frame'' on MSDOS).
author Eli Zaretskii <eliz@gnu.org>
date Sat, 13 Oct 2007 11:54:42 +0000
parents 3f37000e811a
children af5773b20bd9
files src/msdos.c
diffstat 1 files changed, 1 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/src/msdos.c	Sat Oct 13 10:54:45 2007 +0000
+++ b/src/msdos.c	Sat Oct 13 11:54:42 2007 +0000
@@ -3393,13 +3393,7 @@
 		 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;