changeset 7913:a9e0390bbc56

(redisplay): Don't call x_consider_frame_title. (display_mode_line): Likewise. (prepare_menu_bars): Call it here.
author Richard M. Stallman <rms@gnu.org>
date Wed, 15 Jun 1994 18:18:55 +0000
parents f87185e63bbc
children f6ff66f6a358
files src/xdisp.c
diffstat 1 files changed, 11 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Wed Jun 15 18:17:55 1994 +0000
+++ b/src/xdisp.c	Wed Jun 15 18:18:55 1994 +0000
@@ -455,6 +455,17 @@
   all_windows = (update_mode_lines || buffer_shared > 1
 		 || clip_changed || windows_or_buffers_changed);
 
+#ifdef HAVE_X_WINDOWS
+  {
+    Lisp_Object tail, frame;
+
+    FOR_EACH_FRAME (tail, frame)
+      if (FRAME_VISIBLE_P (XFRAME (frame))
+	  || FRAME_ICONIFIED_P (XFRAME (frame)))
+	x_consider_frame_title (frame);
+  }
+#endif
+
   /* Update the menu bar item lists, if appropriate.
      This has to be done before any actual redisplay
      or generation of display lines.  */
@@ -701,11 +712,6 @@
 
 	  if (FRAME_VISIBLE_P (f))
 	    redisplay_windows (FRAME_ROOT_WINDOW (f));
-#ifdef HAVE_X_WINDOWS
-	  else if (FRAME_ICONIFIED_P (f)
-		   && ! MINI_WINDOW_P (XWINDOW (f->selected_window)))
-	    x_consider_frame_title (frame);
-#endif
 
 	  /* Any scroll bars which redisplay_windows should have nuked
 	     should now go away.  */
@@ -2577,11 +2583,6 @@
 	ptr[i] = FAST_MAKE_GLYPH (FAST_GLYPH_CHAR (ptr[i]), 1);
     }
 #endif
-
-#ifdef HAVE_X_WINDOWS
-  if (w == XWINDOW (f->selected_window))
-    x_consider_frame_title (WINDOW_FRAME (w));
-#endif
 }
 
 /* Contribute ELT to the mode line for window W.