]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_set_cursor_type): Set cursor_type_changed,
authorRichard M. Stallman <rms@gnu.org>
Mon, 18 Mar 2002 04:38:15 +0000 (04:38 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 18 Mar 2002 04:38:15 +0000 (04:38 +0000)
not update_mode_lines, and always set it to 1.

src/xfns.c

index ee8e3430c27f6c8f548ff7d288bf61dff2d92764..07097837080538139a7361273ffe36c2e77e6da9 100644 (file)
@@ -1884,9 +1884,8 @@ x_set_cursor_type (f, arg, oldval)
   FRAME_DESIRED_CURSOR (f) = x_specified_cursor_type (arg, &width);
   f->output_data.x->cursor_width = width;
 
-  /* Make sure the cursor gets redrawn.  This is overkill, but how
-     often do people change cursor types?  */
-  update_mode_lines++;
+  /* Make sure the cursor gets redrawn.  */
+  cursor_type_changed = 1;
 }
 \f
 void