]> git.eshelyaron.com Git - emacs.git/commitdiff
* xdisp.c (display_menu_bar): Redisplay all lines occupied by the
authorJim Blandy <jimb@redhat.com>
Mon, 2 Aug 1993 21:19:23 +0000 (21:19 +0000)
committerJim Blandy <jimb@redhat.com>
Mon, 2 Aug 1993 21:19:23 +0000 (21:19 +0000)
menu bar, not just the first.

src/xdisp.c

index b9ef666f869c8fb49f5c65e87316408e7f75b5d0..dc833e5d5f9240721d5ba55b84255f207a27790d 100644 (file)
@@ -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);
 }
 \f
 /* Display the mode line for window w */