changeset 47174:68836f99f298

(get_window_cursor_type): Don't use x_highlight_frame member of x_display_info unless we compile for some window system.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 31 Aug 2002 10:16:40 +0000
parents 06302ff9b201
children 4defb27e6876
files src/xdisp.c
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Sat Aug 31 00:53:12 2002 +0000
+++ b/src/xdisp.c	Sat Aug 31 10:16:40 2002 +0000
@@ -15320,8 +15320,11 @@
     }
 
   /* Nonselected window or nonselected frame.  */
-  else if (f != FRAME_X_DISPLAY_INFO (f)->x_highlight_frame
-      || w != XWINDOW (f->selected_window))
+  else if (w != XWINDOW (f->selected_window)
+#ifdef HAVE_WINDOW_SYSTEM
+	   || f != FRAME_X_DISPLAY_INFO (f)->x_highlight_frame
+#endif
+	   )
     {
       if (MINI_WINDOW_P (w) && minibuf_level == 0)
 	return NO_CURSOR;