Mercurial > emacs
changeset 47057:004e8a6d7bd5
(x_display_and_set_cursor): Use FRAME_BLINK_OFF_CURSOR
and FRAME_BLINK_OFF_CURSOR_WIDTH for blinking cursor off.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 27 Aug 2002 18:42:48 +0000 |
parents | 1afff47013bb |
children | 9e33c7ce6379 |
files | src/xterm.c |
diffstat | 1 files changed, 8 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xterm.c Tue Aug 27 18:41:51 2002 +0000 +++ b/src/xterm.c Tue Aug 27 18:42:48 2002 +0000 @@ -11894,9 +11894,14 @@ &new_cursor_width); } - /* Dim out or hollow out the cursor, - if it has blinked off or for nonselected windows. */ - if (w->cursor_off_p || cursor_off_state) + /* If cursor has blinked off, use the other specified state. */ + if (w->cursor_off_p) + { + new_cursor_type = FRAME_BLINK_OFF_CURSOR (f); + new_cursor_width = FRAME_BLINK_OFF_CURSOR_WIDTH (f); + } + /* Dim out or hollow out the cursor for nonselected windows. */ + if (cursor_off_state) { if (new_cursor_type == FILLED_BOX_CURSOR) new_cursor_type = HOLLOW_BOX_CURSOR;