changeset 46707:3d08eae82583

(x_display_and_set_cursor): Check FRAME_CURSOR_WIDTH for bar cursor.
author Richard M. Stallman <rms@gnu.org>
date Sat, 27 Jul 2002 18:57:41 +0000
parents 160bfc160855
children e82d42ccd30b
files src/xterm.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Sat Jul 27 18:56:36 2002 +0000
+++ b/src/xterm.c	Sat Jul 27 18:57:41 2002 +0000
@@ -11885,7 +11885,10 @@
       struct buffer *b = XBUFFER (w->buffer);
 
       if (EQ (b->cursor_type, Qt))
-	new_cursor_type = FRAME_DESIRED_CURSOR (f);
+	{
+	  new_cursor_type = FRAME_DESIRED_CURSOR (f);
+	  new_cursor_width = FRAME_CURSOR_WIDTH (f);
+	}
       else
 	new_cursor_type = x_specified_cursor_type (b->cursor_type, 
 						   &new_cursor_width);