diff options
author | Eli Zaretskii <eliz@gnu.org> | 2002-08-31 10:17:09 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2002-08-31 10:17:09 +0000 |
commit | 97acc803a93ee97c503dfd197173d787bdeffe80 (patch) | |
tree | 6923744e0f67801e08e7d8cd27515f5a15fd6719 /src | |
parent | ca45961da55a3dd2b1705ab449b6adb76baa0bea (diff) | |
download | emacs-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')
-rw-r--r-- | src/ChangeLog | 5 | ||||
-rw-r--r-- | src/xdisp.c | 7 |
2 files changed, 10 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 086c5463c7f..40286abc86b 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -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. 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; |