If the compositor supports the gtk-shell interface, use it to export the application ID, dbus name and paths that can be used for the application menu.
https://bugzilla.gnome.org/show_bug.cgi?id=707129
ed9f55d wayland: restore support for the application menu
gdk/wayland/gdkwaylandwindow.h | 9 +++++++++
gdk/wayland/gdkwindow-wayland.c | 30 ++++++++++++++++++++++++++++++
gtk/gtkapplicationwindow.c | 27 +++++++++++++++++++++++++--
3 files changed, 64 insertions(+), 2 deletions(-)
Upstream: git.gnome.org