diff options
| author | Richard M. Stallman | 2002-08-27 18:42:48 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2002-08-27 18:42:48 +0000 |
| commit | cc9caa329f8e22a03f5a8fcdd3595641e7df8052 (patch) | |
| tree | 578fc3029103ea6f018495067e6fba299d245bec /src/xterm.c | |
| parent | cff72e2bc6d3680d0cb2f4d6d25fde021cedea26 (diff) | |
| download | emacs-cc9caa329f8e22a03f5a8fcdd3595641e7df8052.tar.gz emacs-cc9caa329f8e22a03f5a8fcdd3595641e7df8052.zip | |
(x_display_and_set_cursor): Use FRAME_BLINK_OFF_CURSOR
and FRAME_BLINK_OFF_CURSOR_WIDTH for blinking cursor off.
Diffstat (limited to 'src/xterm.c')
| -rw-r--r-- | src/xterm.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/xterm.c b/src/xterm.c index 4f07b5ec7a7..1830df51211 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -11894,9 +11894,14 @@ x_display_and_set_cursor (w, on, hpos, vpos, x, y) | |||
| 11894 | &new_cursor_width); | 11894 | &new_cursor_width); |
| 11895 | } | 11895 | } |
| 11896 | 11896 | ||
| 11897 | /* Dim out or hollow out the cursor, | 11897 | /* If cursor has blinked off, use the other specified state. */ |
| 11898 | if it has blinked off or for nonselected windows. */ | 11898 | if (w->cursor_off_p) |
| 11899 | if (w->cursor_off_p || cursor_off_state) | 11899 | { |
| 11900 | new_cursor_type = FRAME_BLINK_OFF_CURSOR (f); | ||
| 11901 | new_cursor_width = FRAME_BLINK_OFF_CURSOR_WIDTH (f); | ||
| 11902 | } | ||
| 11903 | /* Dim out or hollow out the cursor for nonselected windows. */ | ||
| 11904 | if (cursor_off_state) | ||
| 11900 | { | 11905 | { |
| 11901 | if (new_cursor_type == FILLED_BOX_CURSOR) | 11906 | if (new_cursor_type == FILLED_BOX_CURSOR) |
| 11902 | new_cursor_type = HOLLOW_BOX_CURSOR; | 11907 | new_cursor_type = HOLLOW_BOX_CURSOR; |