Attempt to make redisplay more selective when changing cursor type.
authorDmitry Antipov <dmantipov@yandex.ru>
Fri, 6 Sep 2013 08:49:14 +0000 (12:49 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Fri, 6 Sep 2013 08:49:14 +0000 (12:49 +0400)
commit7f6c6450a1332c5bbff900fdeccea6d793970643
tree824362905443b243a566a9306d6e4c5db1393ba4
parent179923f74b3fca2aa27488297e6595beb76e0351
Attempt to make redisplay more selective when changing cursor type.
* frame.h (struct frame): New bitfield cursor_type_changed.
* xdisp.c (cursor_type_changed): Remove.
(try_cursor_movement, redisplay_window, try_window_id)
(set_frame_cursor_types, try_window_reusing_current_matrix):
Adjust to use per-frame bitfield.
(redisplay_internal): Look for cursor type change on each visible
frame and consider all frames if cursor type has been changed on
the frame other than selected.  If cursor type has been changed on
selected frame only, do not use fast update.
src/ChangeLog
src/frame.h
src/xdisp.c