Redesign redisplay interface to drop updated_row and updated_area.
commit7f780da621d462afa3c6e0374590a86de513f863
authorDmitry Antipov <dmantipov@yandex.ru>
Fri, 23 Aug 2013 03:03:37 +0000 (23 07:03 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Fri, 23 Aug 2013 03:03:37 +0000 (23 07:03 +0400)
tree30da6d2b2c1c6473dec212a703e18355f0e3c9cf
parent2649579468273544ead2ed1c16b224a75ec3a895
Redesign redisplay interface to drop updated_row and updated_area.
* dispextern.h (updated_row, updated_area): Remove declaration.
(struct redisplay_interface): Pass glyph row and row area parameters
to write_glyphs, insert_glyphs and clear_end_of_line functions.
(x_write_glyphs, x_insert_glyphs, x_clear_end_of_line):
Adjust prototypes.
* dispnew.c (updated_row, updated_area): Remove.
(redraw_overlapped_rows, update_window_line): Adjust user.
(update_marginal_area, update_text_area): Likewise.  Pass updated row
as a parameter.  Prefer enum glyph_row_area to int where appropriate.
* xdisp.c (x_write_glyphs, x_insert_glyphs, x_clear_end_of_line):
Adjust users.
src/ChangeLog
src/dispextern.h
src/dispnew.c
src/xdisp.c