From db6f348c699fe8db15cc3437609a18130156f18f Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Mon, 2 Aug 1993 21:19:23 +0000 Subject: [PATCH] * xdisp.c (display_menu_bar): Redisplay all lines occupied by the menu bar, not just the first. --- src/xdisp.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/xdisp.c b/src/xdisp.c index b9ef666f869..dc833e5d5f9 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -2194,6 +2194,11 @@ display_menu_bar (w) /* Fill out the line with spaces. */ if (maxendcol > hpos) hpos = display_string (w, vpos, "", hpos, 0, maxendcol, -1); + + /* Clear the rest of the lines allocated to the menu bar. */ + vpos++; + while (vpos < FRAME_MENU_BAR_LINES (f)) + get_display_line (f, vpos++, 0); } /* Display the mode line for window w */ -- 2.39.5