wayland-surface: Fix coordinates for xdg_surface.show_window_menu
This commit is contained in:
parent
6c5595fa9c
commit
8fdd226b8b
@ -817,7 +817,9 @@ xdg_surface_show_window_menu (struct wl_client *client,
|
|||||||
if (!meta_wayland_seat_get_grab_info (seat, surface, serial, NULL, NULL))
|
if (!meta_wayland_seat_get_grab_info (seat, surface, serial, NULL, NULL))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
meta_window_show_menu (surface->window, META_WINDOW_MENU_WM, x, y);
|
meta_window_show_menu (surface->window, META_WINDOW_MENU_WM,
|
||||||
|
surface->window->buffer_rect.x + x,
|
||||||
|
surface->window->buffer_rect.y + y);
|
||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
|
Loading…
Reference in New Issue
Block a user