adjust xdg-shell window menu coords by client's coords

the coords passed in this method are relative to the window geometry
This commit is contained in:
Mike Blumenkrantz 2016-07-19 14:12:24 -04:00
parent 3c8ab9f175
commit 54fa1a0ca4
1 changed files with 1 additions and 1 deletions

View File

@ -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