From: Eli Zaretskii Date: Sat, 4 Oct 2008 14:53:46 +0000 (+0000) Subject: (init_sys_modes): Set FRAME_GARBAGED_P for MSDOS frames as well as for TTY. X-Git-Tag: emacs-pretest-23.0.90~2653 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7ab9884799e68d5c415c409c3ad73f050a783a99;p=emacs.git (init_sys_modes): Set FRAME_GARBAGED_P for MSDOS frames as well as for TTY. --- diff --git a/src/ChangeLog b/src/ChangeLog index 50057069c0c..8485c24e645 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,8 @@ 2008-10-04 Eli Zaretskii + * sysdep.c (init_sys_modes): Set FRAME_GARBAGED_P for MSDOS frames + as well as for TTY. + * systime.h (EMACS_TIME_CMP): Cast EMACS_SECS values to `long'. * dispnew.c (change_frame_size_1): Set FrameRows and FrameCols for diff --git a/src/sysdep.c b/src/sysdep.c index 953e451805e..b1d072e729f 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -1412,7 +1412,8 @@ init_sys_modes (tty_out) frame_garbaged = 1; FOR_EACH_FRAME (tail, frame) { - if (FRAME_TERMCAP_P (XFRAME (frame)) + if ((FRAME_TERMCAP_P (XFRAME (frame)) + || FRAME_MSDOS_P (XFRAME (frame))) && FRAME_TTY (XFRAME (frame)) == tty_out) FRAME_GARBAGED_P (XFRAME (frame)) = 1; }