summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-07-19 14:12:24 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-07-19 14:15:21 -0400
commit54fa1a0ca4bafaa3d44101ed6d8528fcf1d745bc (patch)
tree0a6f469968699215ede31b228eeb69727794cd73
parent3c8ab9f175530770f3de14df672e6731392c4553 (diff)
downloadenlightenment-54fa1a0ca4bafaa3d44101ed6d8528fcf1d745bc.tar.gz
adjust xdg-shell window menu coords by client's coords
the coords passed in this method are relative to the window geometry
-rw-r--r--src/modules/wl_desktop_shell/e_mod_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/wl_desktop_shell/e_mod_main.c b/src/modules/wl_desktop_shell/e_mod_main.c
index 3c3a0d0f65..d80ab41b65 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