diff options
| author | Jim Blandy | 1993-08-02 21:19:23 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-08-02 21:19:23 +0000 |
| commit | db6f348c699fe8db15cc3437609a18130156f18f (patch) | |
| tree | 2125e570ec02e576308897c68f4bdeb404872377 /src | |
| parent | f870f3fefd2ec2b2ace0e188ad58d2c7703b9279 (diff) | |
| download | emacs-db6f348c699fe8db15cc3437609a18130156f18f.tar.gz emacs-db6f348c699fe8db15cc3437609a18130156f18f.zip | |
* xdisp.c (display_menu_bar): Redisplay all lines occupied by the
menu bar, not just the first.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 5 |
1 files changed, 5 insertions, 0 deletions
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) | |||
| 2194 | /* Fill out the line with spaces. */ | 2194 | /* Fill out the line with spaces. */ |
| 2195 | if (maxendcol > hpos) | 2195 | if (maxendcol > hpos) |
| 2196 | hpos = display_string (w, vpos, "", hpos, 0, maxendcol, -1); | 2196 | hpos = display_string (w, vpos, "", hpos, 0, maxendcol, -1); |
| 2197 | |||
| 2198 | /* Clear the rest of the lines allocated to the menu bar. */ | ||
| 2199 | vpos++; | ||
| 2200 | while (vpos < FRAME_MENU_BAR_LINES (f)) | ||
| 2201 | get_display_line (f, vpos++, 0); | ||
| 2197 | } | 2202 | } |
| 2198 | 2203 | ||
| 2199 | /* Display the mode line for window w */ | 2204 | /* Display the mode line for window w */ |