changeset 35897:02652537e9d2

(x_display_and_set_cursor): Check for the focus frame's selected window instead of selected_window.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 05 Feb 2001 15:47:07 +0000
parents 7f7981bbc76e
children 03bf685e7a8d
files src/xterm.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Mon Feb 05 13:30:45 2001 +0000
+++ b/src/xterm.c	Mon Feb 05 15:47:07 2001 +0000
@@ -10877,8 +10877,8 @@
     }
   else
     {
-      if (w != XWINDOW (selected_window)
-	  || f != FRAME_X_DISPLAY_INFO (f)->x_highlight_frame)
+      if (f != FRAME_X_DISPLAY_INFO (f)->x_highlight_frame
+	  || w != XWINDOW (f->selected_window))
 	{
 	  extern int cursor_in_non_selected_windows;