Mercurial > emacs
diff src/process.c @ 765:e4093444f9f8
*** empty log message ***
| author | Jim Blandy <jimb@redhat.com> |
|---|---|
| date | Mon, 13 Jul 1992 20:53:59 +0000 |
| parents | 681c352bbf30 |
| children | 707866b2a190 |
line wrap: on
line diff
--- a/src/process.c Mon Jul 13 19:54:34 1992 +0000 +++ b/src/process.c Mon Jul 13 20:53:59 1992 +0000 @@ -1723,11 +1723,11 @@ if (! XINT (read_kbd)) FD_CLR (0, &Available); - /* If screen size has changed or the window is newly mapped, + /* If frame size has changed or the window is newly mapped, redisplay now, before we start to wait. There is a race condition here; if a SIGIO arrives between now and the select - and indicates that a screen is trashed, we lose. */ - if (screen_garbaged) + and indicates that a frame is trashed, we lose. */ + if (frame_garbaged) redisplay_preserve_echo_area (); if (XINT (read_kbd) && detect_input_pending ()) @@ -2898,7 +2898,7 @@ #include "systime.h" #include "termopts.h" -extern int screen_garbaged; +extern int frame_garbaged; /* As described above, except assuming that there are no subprocesses: @@ -2981,9 +2981,9 @@ if (XINT (read_kbd) < 0) set_waiting_for_input (&timeout); - /* If a screen has been newly mapped and needs updating, + /* If a frame has been newly mapped and needs updating, reprocess its display stuff. */ - if (screen_garbaged) + if (frame_garbaged) redisplay_preserve_echo_area (); if (XINT (read_kbd) && detect_input_pending ())
