Commit de4cdbc5 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(prepare_menu_bars): Call x_consider_frame_title

only if windows_or_buffers_changed.
parent 421dd92f
......@@ -456,14 +456,15 @@ prepare_menu_bars ()
|| clip_changed || windows_or_buffers_changed);
#ifdef HAVE_X_WINDOWS
{
Lisp_Object tail, frame;
if (windows_or_buffers_changed)
{
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);
}
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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment