changeset 47992:3762c0399817

(x_display_and_set_cursor): Get active_cursor from get_window_cursor_type to track system caret.
author Kim F. Storm <storm@cua.dk>
date Thu, 24 Oct 2002 19:58:23 +0000
parents 29c0b05e2715
children 5dcac67745dc
files src/w32term.c
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/w32term.c	Thu Oct 24 19:57:52 2002 +0000
+++ b/src/w32term.c	Thu Oct 24 19:58:23 2002 +0000
@@ -9759,11 +9759,10 @@
   struct frame *f = XFRAME (w->frame);
   int new_cursor_type;
   int new_cursor_width;
+  int active_cursor;
   struct glyph_matrix *current_glyphs;
   struct glyph_row *glyph_row;
   struct glyph *glyph;
-  int cursor_non_selected;
-  int active_cursor = 1;
 
   /* This is pointless on invisible frames, and dangerous on garbaged
      windows and frames; in the latter case, the frame or window may
@@ -9794,7 +9793,7 @@
   xassert (interrupt_input_blocked);
 
   /* Set new_cursor_type to the cursor we want to be displayed.  */
-  new_cursor_type = get_window_cursor_type (w, &new_cursor_width);
+  new_cursor_type = get_window_cursor_type (w, &new_cursor_width, &active_cursor);
 
   /* If cursor is currently being shown and we don't want it to be or
      it is in the wrong place, or the cursor type is not what we want,