]> git.eshelyaron.com Git - emacs.git/commitdiff
(get_window_cursor_type): Don't use x_highlight_frame
authorEli Zaretskii <eliz@gnu.org>
Sat, 31 Aug 2002 10:17:09 +0000 (10:17 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sat, 31 Aug 2002 10:17:09 +0000 (10:17 +0000)
member of x_display_info unless we compile for some window system.

src/ChangeLog
src/xdisp.c

index 086c5463c7f5c688260c03ce21ca73a97efd76e9..40286abc86bee7c9a796e630a79461eb355fda00 100644 (file)
@@ -1,3 +1,8 @@
+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.
index fa63e6ffc5a483eccdea37772f36b8daaacffd1f..f277abee47f794a9e26d7446d8d1f1d9bb99af2d 100644 (file)
@@ -15320,8 +15320,11 @@ get_window_cursor_type (w, width)
     }
 
   /* 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;