From: Eli Zaretskii Date: Mon, 25 Aug 2008 20:15:07 +0000 (+0000) Subject: (do_switch_frame): Mark previously displayed frame as obscured for X-Git-Tag: emacs-pretest-23.0.90~3286 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a4e628d45895e14d4cc2e9115fe22bbe0ea9cca7;p=emacs.git (do_switch_frame): Mark previously displayed frame as obscured for FRAME_MSDOS_P frames as well. --- diff --git a/src/ChangeLog b/src/ChangeLog index dbfc3f799c2..9a12bb74e50 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2008-08-25 Eli Zaretskii + + * frame.c (do_switch_frame): Mark previously displayed frame as + obscured for FRAME_MSDOS_P frames as well. + 2008-08-24 Eli Zaretskii * frame.c (make_terminal_frame): Initialize f->terminal, diff --git a/src/frame.c b/src/frame.c index 496b08fae29..f7621492772 100644 --- a/src/frame.c +++ b/src/frame.c @@ -876,7 +876,7 @@ do_switch_frame (frame, track, for_deletion) if (!for_deletion && FRAME_HAS_MINIBUF_P (sf)) resize_mini_window (XWINDOW (FRAME_MINIBUF_WINDOW (sf)), 1); - if (FRAME_TERMCAP_P (XFRAME (frame))) + if (FRAME_TERMCAP_P (XFRAME (frame)) || FRAME_MSDOS_P (XFRAME (frame))) { if (FRAMEP (FRAME_TTY (XFRAME (frame))->top_frame)) /* Mark previously displayed frame as now obscured. */