diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index e241b59e55b..fc9a11a4cc2 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -456,14 +456,15 @@ prepare_menu_bars () | |||
| 456 | || clip_changed || windows_or_buffers_changed); | 456 | || clip_changed || windows_or_buffers_changed); |
| 457 | 457 | ||
| 458 | #ifdef HAVE_X_WINDOWS | 458 | #ifdef HAVE_X_WINDOWS |
| 459 | { | 459 | if (windows_or_buffers_changed) |
| 460 | Lisp_Object tail, frame; | 460 | { |
| 461 | Lisp_Object tail, frame; | ||
| 461 | 462 | ||
| 462 | FOR_EACH_FRAME (tail, frame) | 463 | FOR_EACH_FRAME (tail, frame) |
| 463 | if (FRAME_VISIBLE_P (XFRAME (frame)) | 464 | if (FRAME_VISIBLE_P (XFRAME (frame)) |
| 464 | || FRAME_ICONIFIED_P (XFRAME (frame))) | 465 | || FRAME_ICONIFIED_P (XFRAME (frame))) |
| 465 | x_consider_frame_title (frame); | 466 | x_consider_frame_title (frame); |
| 466 | } | 467 | } |
| 467 | #endif | 468 | #endif |
| 468 | 469 | ||
| 469 | /* Update the menu bar item lists, if appropriate. | 470 | /* Update the menu bar item lists, if appropriate. |