summaryrefslogtreecommitdiff
path: root/src/wayland
diff options
context:
space:
mode:
authorFlorian Müllner <fmuellner@gnome.org>2014-05-23 23:14:51 +0200
committerFlorian Müllner <fmuellner@gnome.org>2014-05-27 19:40:06 +0200
commit31db32e8262d53a8bcb853c1fbf19df92b63845c (patch)
tree659d14b4eb8dc8dfc00c8458f1639ad17edc182f /src/wayland
parentc2ea650b3c484312c14f69b8b245ab117ef7c6e1 (diff)
downloadmutter-31db32e8262d53a8bcb853c1fbf19df92b63845c.tar.gz
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
Diffstat (limited to 'src/wayland')
-rw-r--r--src/wayland/meta-wayland-surface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wayland/meta-wayland-surface.c b/src/wayland/meta-wayland-surface.c
index c2abdd49e..2ab26dfb0 100644
--- a/src/wayland/meta-wayland-surface.c
+++ b/src/wayland/meta-wayland-surface.c
@@ -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