1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-08 20:50:52 -08:00

(x_display_and_set_cursor): Use FRAME_BLINK_OFF_CURSOR

and FRAME_BLINK_OFF_CURSOR_WIDTH for blinking cursor off.
This commit is contained in:
Richard M. Stallman 2002-08-27 18:42:48 +00:00
parent cff72e2bc6
commit cc9caa329f

View file

@ -11894,9 +11894,14 @@ x_display_and_set_cursor (w, on, hpos, vpos, x, y)
&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;