emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/frame.c


From: Stefan Monnier
Subject: [Emacs-diffs] Changes to emacs/src/frame.c
Date: Sat, 17 May 2003 17:17:46 -0400

Index: emacs/src/frame.c
diff -c emacs/src/frame.c:1.295 emacs/src/frame.c:1.296
*** emacs/src/frame.c:1.295     Mon Mar 31 20:09:13 2003
--- emacs/src/frame.c   Sat May 17 17:17:45 2003
***************
*** 1,5 ****
  /* Generic frame functions.
!    Copyright (C) 1993, 1994, 1995, 1997, 1999, 2000, 2001
     Free Software Foundation.
  
  This file is part of GNU Emacs.
--- 1,5 ----
  /* Generic frame functions.
!    Copyright (C) 1993, 1994, 1995, 1997, 1999, 2000, 2001, 2003
     Free Software Foundation.
  
  This file is part of GNU Emacs.
***************
*** 682,688 ****
    if (! FRAME_MINIBUF_ONLY_P (XFRAME (selected_frame)))
      last_nonminibuf_frame = XFRAME (selected_frame);
  
!   Fselect_window (XFRAME (frame)->selected_window);
  
  #ifndef WINDOWSNT
    /* Make sure to switch the tty color mode to that of the newly
--- 682,688 ----
    if (! FRAME_MINIBUF_ONLY_P (XFRAME (selected_frame)))
      last_nonminibuf_frame = XFRAME (selected_frame);
  
!   Fselect_window (XFRAME (frame)->selected_window, Qnil);
  
  #ifndef WINDOWSNT
    /* Make sure to switch the tty color mode to that of the newly
***************
*** 860,866 ****
      error ("In `set-frame-selected-window', WINDOW is not on FRAME");
  
    if (EQ (frame, selected_frame))
!     return Fselect_window (window);
  
    return XFRAME (frame)->selected_window = window;
  }
--- 860,866 ----
      error ("In `set-frame-selected-window', WINDOW is not on FRAME");
  
    if (EQ (frame, selected_frame))
!     return Fselect_window (window, Qnil);
  
    return XFRAME (frame)->selected_window = window;
  }
***************
*** 1234,1240 ****
        /* If the dying minibuffer window was selected,
         select the new one.  */
        if (minibuffer_selected)
!       Fselect_window (minibuf_window);
      }
  
    /* Don't let echo_area_window to remain on a deleted frame.  */
--- 1234,1240 ----
        /* If the dying minibuffer window was selected,
         select the new one.  */
        if (minibuffer_selected)
!       Fselect_window (minibuf_window, Qnil);
      }
  
    /* Don't let echo_area_window to remain on a deleted frame.  */




reply via email to

[Prev in Thread] Current Thread [Next in Thread]