From 54fa1a0ca4bafaa3d44101ed6d8528fcf1d745bc Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Tue, 19 Jul 2016 14:12:24 -0400 Subject: [PATCH] adjust xdg-shell window menu coords by client's coords the coords passed in this method are relative to the window geometry --- src/modules/wl_desktop_shell/e_mod_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/wl_desktop_shell/e_mod_main.c b/src/modules/wl_desktop_shell/e_mod_main.c index 3c3a0d0f6..d80ab41b6 100644 --- a/src/modules/wl_desktop_shell/e_mod_main.c +++ b/src/modules/wl_desktop_shell/e_mod_main.c @@ -855,7 +855,7 @@ _e_xdg_shell_surface_cb_window_menu_show(struct wl_client *client EINA_UNUSED, s if (e_object_is_del(E_OBJECT(ec))) return; timestamp = ecore_loop_time_get(); - e_int_client_menu_show(ec, x, y, 0, timestamp); + e_int_client_menu_show(ec, ec->x + x, ec->y + y, 0, timestamp); } static void