]> git.eshelyaron.com Git - emacs.git/commitdiff
(do_switch_frame): Mark previously displayed frame as obscured for
authorEli Zaretskii <eliz@gnu.org>
Mon, 25 Aug 2008 20:15:07 +0000 (20:15 +0000)
committerEli Zaretskii <eliz@gnu.org>
Mon, 25 Aug 2008 20:15:07 +0000 (20:15 +0000)
FRAME_MSDOS_P frames as well.

src/ChangeLog
src/frame.c

index dbfc3f799c2ea451da5d750a93627540f42200e1..9a12bb74e504a0dc98a39b9363f7489c3c36046a 100644 (file)
@@ -1,3 +1,8 @@
+2008-08-25  Eli Zaretskii  <eliz@gnu.org>
+
+       * frame.c (do_switch_frame): Mark previously displayed frame as
+       obscured for FRAME_MSDOS_P frames as well.
+
 2008-08-24  Eli Zaretskii  <eliz@gnu.org>
 
        * frame.c (make_terminal_frame): Initialize f->terminal,
index 496b08fae29ac514e291c8d3030c01d11b71d9c2..f762149277203b03988c8ad812dd6af743f3471c 100644 (file)
@@ -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.  */