diff options
| author | Kim F. Storm | 2002-10-24 19:58:23 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2002-10-24 19:58:23 +0000 |
| commit | 1cdf2e12769c9461828ad720b9cff427e76addbb (patch) | |
| tree | 5f880503e703003d07a6437137532cc053381414 /src | |
| parent | 5af96b788b013fd1ffe5fe663cece1425b38fb34 (diff) | |
| download | emacs-1cdf2e12769c9461828ad720b9cff427e76addbb.tar.gz emacs-1cdf2e12769c9461828ad720b9cff427e76addbb.zip | |
(x_display_and_set_cursor): Get active_cursor from
get_window_cursor_type to track system caret.
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32term.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/w32term.c b/src/w32term.c index acf06daee31..f8d4e2e664e 100644 --- a/src/w32term.c +++ b/src/w32term.c | |||
| @@ -9759,11 +9759,10 @@ x_display_and_set_cursor (w, on, hpos, vpos, x, y) | |||
| 9759 | struct frame *f = XFRAME (w->frame); | 9759 | struct frame *f = XFRAME (w->frame); |
| 9760 | int new_cursor_type; | 9760 | int new_cursor_type; |
| 9761 | int new_cursor_width; | 9761 | int new_cursor_width; |
| 9762 | int active_cursor; | ||
| 9762 | struct glyph_matrix *current_glyphs; | 9763 | struct glyph_matrix *current_glyphs; |
| 9763 | struct glyph_row *glyph_row; | 9764 | struct glyph_row *glyph_row; |
| 9764 | struct glyph *glyph; | 9765 | struct glyph *glyph; |
| 9765 | int cursor_non_selected; | ||
| 9766 | int active_cursor = 1; | ||
| 9767 | 9766 | ||
| 9768 | /* This is pointless on invisible frames, and dangerous on garbaged | 9767 | /* This is pointless on invisible frames, and dangerous on garbaged |
| 9769 | windows and frames; in the latter case, the frame or window may | 9768 | windows and frames; in the latter case, the frame or window may |
| @@ -9794,7 +9793,7 @@ x_display_and_set_cursor (w, on, hpos, vpos, x, y) | |||
| 9794 | xassert (interrupt_input_blocked); | 9793 | xassert (interrupt_input_blocked); |
| 9795 | 9794 | ||
| 9796 | /* Set new_cursor_type to the cursor we want to be displayed. */ | 9795 | /* Set new_cursor_type to the cursor we want to be displayed. */ |
| 9797 | new_cursor_type = get_window_cursor_type (w, &new_cursor_width); | 9796 | new_cursor_type = get_window_cursor_type (w, &new_cursor_width, &active_cursor); |
| 9798 | 9797 | ||
| 9799 | /* If cursor is currently being shown and we don't want it to be or | 9798 | /* If cursor is currently being shown and we don't want it to be or |
| 9800 | it is in the wrong place, or the cursor type is not what we want, | 9799 | it is in the wrong place, or the cursor type is not what we want, |