diff options
| author | Richard M. Stallman | 1994-06-15 18:18:55 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-06-15 18:18:55 +0000 |
| commit | aba55e8dde6fcc104afe3c69ea48ac76b55e885f (patch) | |
| tree | 0b123e087cbaf24ea73d4ba9293e5555327dd3ef /src | |
| parent | 42bb2790f0d45bd45f8b2973d6ba7d68a21a75e5 (diff) | |
| download | emacs-aba55e8dde6fcc104afe3c69ea48ac76b55e885f.tar.gz emacs-aba55e8dde6fcc104afe3c69ea48ac76b55e885f.zip | |
(redisplay): Don't call x_consider_frame_title.
(display_mode_line): Likewise.
(prepare_menu_bars): Call it here.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index fa6e0c1493c..da05044a963 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -455,6 +455,17 @@ prepare_menu_bars () | |||
| 455 | all_windows = (update_mode_lines || buffer_shared > 1 | 455 | all_windows = (update_mode_lines || buffer_shared > 1 |
| 456 | || clip_changed || windows_or_buffers_changed); | 456 | || clip_changed || windows_or_buffers_changed); |
| 457 | 457 | ||
| 458 | #ifdef HAVE_X_WINDOWS | ||
| 459 | { | ||
| 460 | Lisp_Object tail, frame; | ||
| 461 | |||
| 462 | FOR_EACH_FRAME (tail, frame) | ||
| 463 | if (FRAME_VISIBLE_P (XFRAME (frame)) | ||
| 464 | || FRAME_ICONIFIED_P (XFRAME (frame))) | ||
| 465 | x_consider_frame_title (frame); | ||
| 466 | } | ||
| 467 | #endif | ||
| 468 | |||
| 458 | /* Update the menu bar item lists, if appropriate. | 469 | /* Update the menu bar item lists, if appropriate. |
| 459 | This has to be done before any actual redisplay | 470 | This has to be done before any actual redisplay |
| 460 | or generation of display lines. */ | 471 | or generation of display lines. */ |
| @@ -701,11 +712,6 @@ redisplay () | |||
| 701 | 712 | ||
| 702 | if (FRAME_VISIBLE_P (f)) | 713 | if (FRAME_VISIBLE_P (f)) |
| 703 | redisplay_windows (FRAME_ROOT_WINDOW (f)); | 714 | redisplay_windows (FRAME_ROOT_WINDOW (f)); |
| 704 | #ifdef HAVE_X_WINDOWS | ||
| 705 | else if (FRAME_ICONIFIED_P (f) | ||
| 706 | && ! MINI_WINDOW_P (XWINDOW (f->selected_window))) | ||
| 707 | x_consider_frame_title (frame); | ||
| 708 | #endif | ||
| 709 | 715 | ||
| 710 | /* Any scroll bars which redisplay_windows should have nuked | 716 | /* Any scroll bars which redisplay_windows should have nuked |
| 711 | should now go away. */ | 717 | should now go away. */ |
| @@ -2577,11 +2583,6 @@ display_mode_line (w) | |||
| 2577 | ptr[i] = FAST_MAKE_GLYPH (FAST_GLYPH_CHAR (ptr[i]), 1); | 2583 | ptr[i] = FAST_MAKE_GLYPH (FAST_GLYPH_CHAR (ptr[i]), 1); |
| 2578 | } | 2584 | } |
| 2579 | #endif | 2585 | #endif |
| 2580 | |||
| 2581 | #ifdef HAVE_X_WINDOWS | ||
| 2582 | if (w == XWINDOW (f->selected_window)) | ||
| 2583 | x_consider_frame_title (WINDOW_FRAME (w)); | ||
| 2584 | #endif | ||
| 2585 | } | 2586 | } |
| 2586 | 2587 | ||
| 2587 | /* Contribute ELT to the mode line for window W. | 2588 | /* Contribute ELT to the mode line for window W. |