changeset 14535:8ca7e641c144

(display_buffer_1): Raise the frame if already visible.
author Richard M. Stallman <rms@gnu.org>
date Sat, 10 Feb 1996 07:13:00 +0000
parents 3c38a5112cb6
children 12de7dac154b
files src/window.c
diffstat 1 files changed, 7 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/window.c	Sat Feb 10 05:14:34 1996 +0000
+++ b/src/window.c	Sat Feb 10 07:13:00 1996 +0000
@@ -1980,9 +1980,13 @@
 #ifdef MULTI_FRAME
   FRAME_PTR f = XFRAME (WINDOW_FRAME (XWINDOW (window)));
   FRAME_SAMPLE_VISIBILITY (f);
-  if (FRAME_ICONIFIED_P (f)
-      && f != selected_frame)
-    Fmake_frame_visible (WINDOW_FRAME (XWINDOW (window)));
+  if (f != selected_frame)
+    {
+      if (FRAME_ICONIFIED_P (f))
+	Fmake_frame_visible (WINDOW_FRAME (XWINDOW (window)));
+      else (FRAME_VISIBLE_P (f))
+	Fraise_frame (WINDOW_FRAME (XWINDOW (window)));
+    }
 #endif
   return window;
 }