Mercurial > hg > xemacs-beta
comparison src/redisplay.c @ 215:1f0dabaa0855 r20-4b6
Import from CVS: tag r20-4b6
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:07:35 +0200 |
parents | 78f53ef88e17 |
children | d44af0c54775 |
comparison
equal
deleted
inserted
replaced
214:c5d88c05e1e9 | 215:1f0dabaa0855 |
---|---|
7807 struct frame *f = XFRAME (XCAR (frmcons)); | 7807 struct frame *f = XFRAME (XCAR (frmcons)); |
7808 | 7808 |
7809 if (FRAME_REPAINT_P (f) && FRAME_HAS_MINIBUF_P (f)) | 7809 if (FRAME_REPAINT_P (f) && FRAME_HAS_MINIBUF_P (f)) |
7810 { | 7810 { |
7811 Lisp_Object window = FRAME_MINIBUF_WINDOW (f); | 7811 Lisp_Object window = FRAME_MINIBUF_WINDOW (f); |
7812 /* | |
7813 * If the frame has changed, there may be random chud | |
7814 * on the screen left from previous messages because | |
7815 * redisplay_frame hasn't been called yet. Clear the | |
7816 * screen to get rid of the potential mess. | |
7817 * | |
7818 * It would be nice if a way could be found not to | |
7819 * have to do this for every message until the next | |
7820 * full redisplay. | |
7821 */ | |
7822 if (f->frame_changed) | |
7823 DEVMETH (d, clear_frame, (f)); | |
7812 redisplay_window (window, 0); | 7824 redisplay_window (window, 0); |
7813 call_redisplay_end_triggers (XWINDOW (window), 0); | 7825 call_redisplay_end_triggers (XWINDOW (window), 0); |
7814 } | 7826 } |
7815 } | 7827 } |
7816 | 7828 |