Mercurial > emacs
changeset 4423:53f7c5b30816
* xdisp.c (display_menu_bar): Redisplay all lines occupied by the
menu bar, not just the first.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Mon, 02 Aug 1993 21:19:23 +0000 |
parents | e51a7e8fffe2 |
children | 027d3affb2f8 |
files | src/xdisp.c |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xdisp.c Mon Aug 02 20:48:12 1993 +0000 +++ b/src/xdisp.c Mon Aug 02 21:19:23 1993 +0000 @@ -2194,6 +2194,11 @@ /* 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 */