discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=54fa1a0ca4bafaa3d44101ed6d8528fcf1d745bc

commit 54fa1a0ca4bafaa3d44101ed6d8528fcf1d745bc
Author: Mike Blumenkrantz <[email protected]>
Date:   Tue Jul 19 14:12:24 2016 -0400

    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 3c3a0d0..d80ab41 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

-- 


Reply via email to