mirror of
https://github.com/brl/mutter.git
synced 2025-08-05 08:04:50 +00:00
Actually implement opening the app menu
The last commit added support for the "appmenu" button in decorations, but didn't actually implement it. Add a new MetaWindowMenuType parameter to the show_window_menu () functions and use it to ask the compositor to display the app menu when the new button is activated. https://bugzilla.gnome.org/show_bug.cgi?id=730752
This commit is contained in:
@@ -784,7 +784,7 @@ xdg_surface_show_window_menu (struct wl_client *client,
|
||||
if (!meta_wayland_seat_can_grab_surface (seat, surface, serial))
|
||||
return;
|
||||
|
||||
meta_window_show_menu (surface->window, x, y);
|
||||
meta_window_show_menu (surface->window, META_WINDOW_MENU_WM, x, y);
|
||||
}
|
||||
|
||||
static gboolean
|
||||
|
Reference in New Issue
Block a user