From a4e628d45895e14d4cc2e9115fe22bbe0ea9cca7 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Mon, 25 Aug 2008 20:15:07 +0000 Subject: [PATCH] (do_switch_frame): Mark previously displayed frame as obscured for FRAME_MSDOS_P frames as well. --- src/ChangeLog | 5 +++++ src/frame.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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. */ -- 2.39.5