1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-03 12:31:32 -08:00

* pgtkmenu.c (set_frame_menubar): fix empty menu.

This commit is contained in:
Yuuki Harano 2020-05-06 19:04:23 +09:00 committed by Jeff Walsh
parent 8669feb0c5
commit fe2297ce7a

View file

@ -277,6 +277,10 @@ set_frame_menubar (struct frame *f, bool first_time, bool deep_p)
if (! menubar_widget)
deep_p = true;
/* Since button_event handler in pgtk emacs doesn't handle mouse
* events in menubars, the menu needs to be built now. */
deep_p = true;
if (deep_p)
{
struct buffer *prev = current_buffer;