aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.c
diff options
context:
space:
mode:
authorGerd Moellmann2000-09-18 21:12:22 +0000
committerGerd Moellmann2000-09-18 21:12:22 +0000
commit5cefa566fb322a724ed67797b9d3124538d6dd7e (patch)
tree4670d96a8134ce7a34b08a88f8f2f61bb230dcd0 /src/xterm.c
parent9f83cf0bd0b2489ede411a398d5efaccc5f952c2 (diff)
downloademacs-5cefa566fb322a724ed67797b9d3124538d6dd7e.tar.gz
emacs-5cefa566fb322a724ed67797b9d3124538d6dd7e.zip
(x_display_and_set_cursor): Don't show a hollow box
cursor for buffers whose cursor_type is nil.
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c
index f95d5b50ef5..c082124d32f 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -10669,7 +10669,9 @@ x_display_and_set_cursor (w, on, hpos, vpos, x, y)
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;