aboutsummaryrefslogtreecommitdiffstats
path: root/src
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
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')
-rw-r--r--src/ChangeLog3
-rw-r--r--src/xterm.c4
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index e7136f8423a..d13d71ecb59 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -5,6 +5,9 @@
5 5
62000-09-18 Gerd Moellmann <gerd@gnu.org> 62000-09-18 Gerd Moellmann <gerd@gnu.org>
7 7
8 * xterm.c (x_display_and_set_cursor): Don't show a hollow box
9 cursor for buffers whose cursor_type is nil.
10
8 * xterm.c (x_draw_image_glyph_string): Remove a comment describing 11 * xterm.c (x_draw_image_glyph_string): Remove a comment describing
9 a feature to implement that is already implemented. 12 a feature to implement that is already implemented.
10 (note_mouse_highlight, x_find_ccl_program): Avoid some compiler 13 (note_mouse_highlight, x_find_ccl_program): Avoid some compiler
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;