• Benjamin Otte's avatar
    menu: Only realize menu if it isn't realized yet · 3ecb308e
    Benjamin Otte authored
    Lots of code calls gtk_menu_popup() and we don't want to resize the
    window needlessly.
    In this particular case, keyboard navigation to submenus caused those
    submenus to shrink.
    Note: I'm not sure this fix doesn't have nasty side effects, as I'm not
    a specialist on menu popup code, so if it does, we'll need to revert it.
    Until then, let's keep it, it fixes a bug.
gtkmenu.c 184 KB