Mercurial > emacs
diff src/xfns.c @ 43987:ea6530f23937
(x_set_cursor_type): Set cursor_type_changed,
not update_mode_lines, and always set it to 1.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 18 Mar 2002 04:38:15 +0000 |
parents | 110730fc1e56 |
children | 85388a495f68 |
line wrap: on
line diff
--- a/src/xfns.c Mon Mar 18 04:33:33 2002 +0000 +++ b/src/xfns.c Mon Mar 18 04:38:15 2002 +0000 @@ -1884,9 +1884,8 @@ 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