Mercurial > emacs
comparison src/xterm.c @ 31699:9ff91d2b19f8
(x_display_and_set_cursor): Don't show a hollow box
cursor for buffers whose cursor_type is nil.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Mon, 18 Sep 2000 21:10:03 +0000 |
parents | 97c48afc4c5a |
children | 228555beda7f |
comparison
equal
deleted
inserted
replaced
31698:69ef0def4cc6 | 31699:9ff91d2b19f8 |
---|---|
10667 if (w != XWINDOW (selected_window) | 10667 if (w != XWINDOW (selected_window) |
10668 || f != FRAME_X_DISPLAY_INFO (f)->x_highlight_frame) | 10668 || f != FRAME_X_DISPLAY_INFO (f)->x_highlight_frame) |
10669 { | 10669 { |
10670 extern int cursor_in_non_selected_windows; | 10670 extern int cursor_in_non_selected_windows; |
10671 | 10671 |
10672 if (MINI_WINDOW_P (w) || !cursor_in_non_selected_windows) | 10672 if (MINI_WINDOW_P (w) |
10673 || !cursor_in_non_selected_windows | |
10674 || NILP (XBUFFER (w->buffer)->cursor_type)) | |
10673 new_cursor_type = NO_CURSOR; | 10675 new_cursor_type = NO_CURSOR; |
10674 else | 10676 else |
10675 new_cursor_type = HOLLOW_BOX_CURSOR; | 10677 new_cursor_type = HOLLOW_BOX_CURSOR; |
10676 } | 10678 } |
10677 else if (w->cursor_off_p) | 10679 else if (w->cursor_off_p) |