From: Richard M. Stallman Date: Mon, 18 Mar 2002 04:38:15 +0000 (+0000) Subject: (x_set_cursor_type): Set cursor_type_changed, X-Git-Tag: ttn-vms-21-2-B4~16111 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7569100503c1d0ad62b87d21e99b969feb096601;p=emacs.git (x_set_cursor_type): Set cursor_type_changed, not update_mode_lines, and always set it to 1. --- diff --git a/src/xfns.c b/src/xfns.c index ee8e3430c27..07097837080 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -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; } void