Mercurial > hg > xemacs-beta
diff src/window.c @ 384:bbff43aa5eb7 r21-2-7
Import from CVS: tag r21-2-7
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:08:24 +0200 |
parents | 8626e4521993 |
children | 74fd4e045ea6 |
line wrap: on
line diff
--- a/src/window.c Mon Aug 13 11:07:40 2007 +0200 +++ b/src/window.c Mon Aug 13 11:08:24 2007 +0200 @@ -36,6 +36,8 @@ #include "glyphs.h" #include "redisplay.h" #include "window.h" +#include "elhash.h" +#include "commands.h" Lisp_Object Qwindowp, Qwindow_live_p, Qwindow_configurationp; Lisp_Object Qscroll_up, Qscroll_down, Qdisplay_buffer; @@ -161,6 +163,8 @@ MARK_DISP_VARIABLE (last_facechange); markobj (window->line_cache_last_updated); markobj (window->redisplay_end_trigger); + markobj (window->subwindow_instance_cache); + mark_face_cachels (window->face_cachels, markobj); mark_glyph_cachels (window->glyph_cachels, markobj); @@ -273,6 +277,9 @@ p->face_cachels = Dynarr_new (face_cachel); p->glyph_cachels = Dynarr_new (glyph_cachel); p->line_start_cache = Dynarr_new (line_start_cache); + p->subwindow_instance_cache = make_lisp_hash_table (10, + HASH_TABLE_KEY_WEAK, + HASH_TABLE_EQ); p->line_cache_last_updated = Qzero; INIT_DISP_VARIABLE (last_point_x, 0); INIT_DISP_VARIABLE (last_point_y, 0);