diff options
author | Richard M. Stallman <[email protected]> | 2002-07-27 18:57:41 +0000 |
---|---|---|
committer | Richard M. Stallman <[email protected]> | 2002-07-27 18:57:41 +0000 |
commit | 4e361664e6dcf20d902baa41dbd65dd0ed60c906 (patch) | |
tree | ad37c50c29630e48480937ed5a243b482046ff4a | |
parent | 1475142b5ac9bbd4197d83f61cebd67f03cd4dad (diff) |
(x_display_and_set_cursor): Check FRAME_CURSOR_WIDTH for bar cursor.
-rw-r--r-- | src/xterm.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c index 3fbdd725c4..7216fdadb4 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -11885,7 +11885,10 @@ x_display_and_set_cursor (w, on, hpos, vpos, x, y) 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); |