Commit 5cefa566 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(x_display_and_set_cursor): Don't show a hollow box

cursor for buffers whose cursor_type is nil.
parent 9f83cf0b
......@@ -5,6 +5,9 @@
2000-09-18 Gerd Moellmann <gerd@gnu.org>
* xterm.c (x_display_and_set_cursor): Don't show a hollow box
cursor for buffers whose cursor_type is nil.
* xterm.c (x_draw_image_glyph_string): Remove a comment describing
a feature to implement that is already implemented.
(note_mouse_highlight, x_find_ccl_program): Avoid some compiler
......
......@@ -10669,7 +10669,9 @@ x_display_and_set_cursor (w, on, hpos, vpos, x, y)
{
extern int cursor_in_non_selected_windows;
if (MINI_WINDOW_P (w) || !cursor_in_non_selected_windows)
if (MINI_WINDOW_P (w)
|| !cursor_in_non_selected_windows
|| NILP (XBUFFER (w->buffer)->cursor_type))
new_cursor_type = NO_CURSOR;
else
new_cursor_type = HOLLOW_BOX_CURSOR;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment