summaryrefslogtreecommitdiff
path: root/src/xdisp.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2002-08-31 10:17:09 +0000
committerEli Zaretskii <eliz@gnu.org>2002-08-31 10:17:09 +0000
commit97acc803a93ee97c503dfd197173d787bdeffe80 (patch)
tree6923744e0f67801e08e7d8cd27515f5a15fd6719 /src/xdisp.c
parentca45961da55a3dd2b1705ab449b6adb76baa0bea (diff)
downloademacs-97acc803a93ee97c503dfd197173d787bdeffe80.tar.gz
(get_window_cursor_type): Don't use x_highlight_frame
member of x_display_info unless we compile for some window system.
Diffstat (limited to 'src/xdisp.c')
-rw-r--r--src/xdisp.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index fa63e6ffc5a..f277abee47f 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -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;