Commit 75691005 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(x_set_cursor_type): Set cursor_type_changed,

not update_mode_lines, and always set it to 1.
parent df5c36cd
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment