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:
parent
3c8ab9f175
commit
54fa1a0ca4
|
@ -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;
|
if (e_object_is_del(E_OBJECT(ec))) return;
|
||||||
|
|
||||||
timestamp = ecore_loop_time_get();
|
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
|
static void
|
||||||
|
|
Loading…
Reference in New Issue