comparison src/window.c @ 410:de805c49cfc1 r21-2-35

Import from CVS: tag r21-2-35
author cvs
date Mon, 13 Aug 2007 11:19:21 +0200
parents 501cfd01ee6d
children 697ef44129c6
comparison
equal deleted inserted replaced
409:301b9ebbdf3b 410:de805c49cfc1
280 INIT_DISP_VARIABLE (last_facechange, Qzero); 280 INIT_DISP_VARIABLE (last_facechange, Qzero);
281 p->face_cachels = Dynarr_new (face_cachel); 281 p->face_cachels = Dynarr_new (face_cachel);
282 p->glyph_cachels = Dynarr_new (glyph_cachel); 282 p->glyph_cachels = Dynarr_new (glyph_cachel);
283 p->line_start_cache = Dynarr_new (line_start_cache); 283 p->line_start_cache = Dynarr_new (line_start_cache);
284 p->subwindow_instance_cache = make_lisp_hash_table (30, 284 p->subwindow_instance_cache = make_lisp_hash_table (30,
285 HASH_TABLE_KEY_WEAK, 285 HASH_TABLE_KEY_VALUE_WEAK,
286 HASH_TABLE_EQUAL); 286 HASH_TABLE_EQUAL);
287 p->line_cache_last_updated = Qzero; 287 p->line_cache_last_updated = Qzero;
288 INIT_DISP_VARIABLE (last_point_x, 0); 288 INIT_DISP_VARIABLE (last_point_x, 0);
289 INIT_DISP_VARIABLE (last_point_y, 0); 289 INIT_DISP_VARIABLE (last_point_y, 0);
290 INIT_DISP_VARIABLE (window_end_pos, 0); 290 INIT_DISP_VARIABLE (window_end_pos, 0);
3517 p->line_start_cache = Dynarr_new (line_start_cache); 3517 p->line_start_cache = Dynarr_new (line_start_cache);
3518 p->face_cachels = Dynarr_new (face_cachel); 3518 p->face_cachels = Dynarr_new (face_cachel);
3519 p->glyph_cachels = Dynarr_new (glyph_cachel); 3519 p->glyph_cachels = Dynarr_new (glyph_cachel);
3520 p->subwindow_instance_cache = 3520 p->subwindow_instance_cache =
3521 make_lisp_hash_table (30, 3521 make_lisp_hash_table (30,
3522 HASH_TABLE_KEY_WEAK, 3522 HASH_TABLE_KEY_VALUE_WEAK,
3523 HASH_TABLE_EQUAL); 3523 HASH_TABLE_EQUAL);
3524 3524
3525 /* Put new into window structure in place of window */ 3525 /* Put new into window structure in place of window */
3526 replace_window (window, new); 3526 replace_window (window, new);
3527 3527
5367 window configurations, and in fact doing so would be 5367 window configurations, and in fact doing so would be
5368 wrong. We just reset to zero and then redisplay will fill 5368 wrong. We just reset to zero and then redisplay will fill
5369 it up as needed. */ 5369 it up as needed. */
5370 w->subwindow_instance_cache = 5370 w->subwindow_instance_cache =
5371 make_lisp_hash_table (30, 5371 make_lisp_hash_table (30,
5372 HASH_TABLE_KEY_WEAK, 5372 HASH_TABLE_KEY_VALUE_WEAK,
5373 HASH_TABLE_EQUAL); 5373 HASH_TABLE_EQUAL);
5374 SET_LAST_MODIFIED (w, 1); 5374 SET_LAST_MODIFIED (w, 1);
5375 SET_LAST_FACECHANGE (w); 5375 SET_LAST_FACECHANGE (w);
5376 w->config_mark = 0; 5376 w->config_mark = 0;
5377 5377