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:
parent
8669feb0c5
commit
fe2297ce7a
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue