aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.c
diff options
context:
space:
mode:
authorRichard M. Stallman2002-07-27 18:57:41 +0000
committerRichard M. Stallman2002-07-27 18:57:41 +0000
commit4e361664e6dcf20d902baa41dbd65dd0ed60c906 (patch)
treead37c50c29630e48480937ed5a243b482046ff4a /src/xterm.c
parent1475142b5ac9bbd4197d83f61cebd67f03cd4dad (diff)
downloademacs-4e361664e6dcf20d902baa41dbd65dd0ed60c906.tar.gz
emacs-4e361664e6dcf20d902baa41dbd65dd0ed60c906.zip
(x_display_and_set_cursor): Check FRAME_CURSOR_WIDTH for bar cursor.
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 3fbdd725c43..7216fdadb4c 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -11885,7 +11885,10 @@ x_display_and_set_cursor (w, on, hpos, vpos, x, y)
11885 struct buffer *b = XBUFFER (w->buffer); 11885 struct buffer *b = XBUFFER (w->buffer);
11886 11886
11887 if (EQ (b->cursor_type, Qt)) 11887 if (EQ (b->cursor_type, Qt))
11888 new_cursor_type = FRAME_DESIRED_CURSOR (f); 11888 {
11889 new_cursor_type = FRAME_DESIRED_CURSOR (f);
11890 new_cursor_width = FRAME_CURSOR_WIDTH (f);
11891 }
11889 else 11892 else
11890 new_cursor_type = x_specified_cursor_type (b->cursor_type, 11893 new_cursor_type = x_specified_cursor_type (b->cursor_type,
11891 &new_cursor_width); 11894 &new_cursor_width);