member of x_display_info unless we compile for some window system.
+2002-08-31 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * xdisp.c (get_window_cursor_type): Don't use x_highlight_frame
+ member of x_display_info unless we compile for some window system.
+
2002-08-31 Kim F. Storm <storm@cua.dk>
* xdisp.c (Valternate_cursor_type, Qalternate_cursor_type): Removed.
}
/* 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;