comparison src/redisplay.c @ 30:ec9a17fef872 r19-15b98

Import from CVS: tag r19-15b98
author cvs
date Mon, 13 Aug 2007 08:52:29 +0200
parents 859a2309aef8
children e04119814345
comparison
equal deleted inserted replaced
29:7976500f47f9 30:ec9a17fef872
5252 5252
5253 FRAME_LOOP_NO_BREAK (frmcons, devcons, concons) 5253 FRAME_LOOP_NO_BREAK (frmcons, devcons, concons)
5254 { 5254 {
5255 struct frame *f = XFRAME (XCAR (frmcons)); 5255 struct frame *f = XFRAME (XCAR (frmcons));
5256 5256
5257 if (FRAME_VISIBLE_P (f)) 5257 if (FRAME_REPAINT_P (f))
5258 map_windows (f, reset_buffer_changes_mapfun, 0); 5258 map_windows (f, reset_buffer_changes_mapfun, 0);
5259 } 5259 }
5260 } 5260 }
5261 5261
5262 /* Ensure that all windows underneath the given window in the window 5262 /* Ensure that all windows underneath the given window in the window
5457 f = XFRAME (frame); 5457 f = XFRAME (frame);
5458 5458
5459 if (f->icon_changed || f->windows_changed) 5459 if (f->icon_changed || f->windows_changed)
5460 update_frame_icon (f); 5460 update_frame_icon (f);
5461 5461
5462 if (FRAME_VISIBLE_P (f)) 5462 if (FRAME_REPAINT_P (f))
5463 { 5463 {
5464 if (f->buffers_changed || f->clip_changed || f->extents_changed 5464 if (f->buffers_changed || f->clip_changed || f->extents_changed
5465 || f->faces_changed || f->frame_changed || f->menubar_changed 5465 || f->faces_changed || f->frame_changed || f->menubar_changed
5466 || f->modeline_changed || f->point_changed || f->size_changed 5466 || f->modeline_changed || f->point_changed || f->size_changed
5467 || f->toolbar_changed || f->windows_changed 5467 || f->toolbar_changed || f->windows_changed
5491 continue; 5491 continue;
5492 5492
5493 if (f->icon_changed || f->windows_changed) 5493 if (f->icon_changed || f->windows_changed)
5494 update_frame_icon (f); 5494 update_frame_icon (f);
5495 5495
5496 if (FRAME_VISIBLE_P (f)) 5496 if (FRAME_REPAINT_P (f))
5497 { 5497 {
5498 if (f->buffers_changed || f->clip_changed || f->extents_changed 5498 if (f->buffers_changed || f->clip_changed || f->extents_changed
5499 || f->faces_changed || f->frame_changed || f->menubar_changed 5499 || f->faces_changed || f->frame_changed || f->menubar_changed
5500 || f->modeline_changed || f->point_changed || f->size_changed 5500 || f->modeline_changed || f->point_changed || f->size_changed
5501 || f->toolbar_changed || f->windows_changed 5501 || f->toolbar_changed || f->windows_changed
7737 7737
7738 DEVICE_FRAME_LOOP (frmcons, d) 7738 DEVICE_FRAME_LOOP (frmcons, d)
7739 { 7739 {
7740 struct frame *f = XFRAME (XCAR (frmcons)); 7740 struct frame *f = XFRAME (XCAR (frmcons));
7741 7741
7742 if (FRAME_VISIBLE_P (f) && FRAME_HAS_MINIBUF_P (f)) 7742 if (FRAME_REPAINT_P (f) && FRAME_HAS_MINIBUF_P (f))
7743 { 7743 {
7744 Lisp_Object window = FRAME_MINIBUF_WINDOW (f); 7744 Lisp_Object window = FRAME_MINIBUF_WINDOW (f);
7745 redisplay_window (window, 0); 7745 redisplay_window (window, 0);
7746 call_redisplay_end_triggers (XWINDOW (window), 0); 7746 call_redisplay_end_triggers (XWINDOW (window), 0);
7747 } 7747 }