changeset 79060:848bc3eac628

(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:25:10 +0000
parents 5f824c579a60
children c2854b97501f
files src/msdos.c
diffstat 1 files changed, 1 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/src/msdos.c	Sat Oct 13 02:50:27 2007 +0000
+++ b/src/msdos.c	Sat Oct 13 11:25:10 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;