-
-
Notifications
You must be signed in to change notification settings - Fork 21.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[macOS] Add about_to_open
and popup_hide
callback for the global menus.
#79361
Conversation
a538857
to
81947ac
Compare
Actually, if I'm understanding correctly, a That said, I have no idea how much the global menu logic differs from normal window logic so I have no idea if this is possible. |
81947ac
to
f1f92a7
Compare
Global menu do not use any of the window logic. Popup auto closeing on the rest of the platforms do the same, send |
Oh all right so that is the right way, nevermind, I thought for some reason that it was an hack. Edit: Just to be clear, by hack I meant an hack in my Wayland implementation. |
You need to override the |
f1f92a7
to
b0488fa
Compare
It should not be called on |
6c206bf
to
3fd3925
Compare
…menus, move part of logic to the PopupMenu to allow live menu modification.
3fd3925
to
d1aaa91
Compare
Thanks! |
about_to_open
andpopup_hide
callback for the global menusPopupMenu
to allow live menu modificationFixes #79349