remove e_comp_wl->ptr.grab_x/y

unused
This commit is contained in:
Mike Blumenkrantz 2017-02-24 14:15:42 -05:00
parent 2c7e91d38f
commit 1bf6c2d5c3
4 changed files with 0 additions and 7 deletions

View File

@ -196,7 +196,6 @@ struct _E_Comp_Wl_Data
{
Eina_List *resources;
Evas_Coord x, y;
wl_fixed_t grab_x, grab_y;
uint32_t button;
uint32_t serial[2]; //down/up
uint32_t button_mask;

View File

@ -81,8 +81,6 @@ _wl_shell_surface_cb_resize(struct wl_client *client EINA_UNUSED, struct wl_reso
e_comp_wl->resize.resource = resource;
e_comp_wl->resize.edges = edges;
e_comp_wl->ptr.grab_x = wl_fixed_from_int(e_comp_wl->ptr.x) - wl_fixed_from_int(ec->client.x);
e_comp_wl->ptr.grab_y = wl_fixed_from_int(e_comp_wl->ptr.y) - wl_fixed_from_int(ec->client.y);
switch (e_comp_wl->ptr.button)
{

View File

@ -290,8 +290,6 @@ _e_xdg_shell_surface_cb_resize(struct wl_client *client EINA_UNUSED, struct wl_r
e_comp_wl->resize.resource = resource;
e_comp_wl->resize.edges = edges;
e_comp_wl->ptr.grab_x = wl_fixed_from_int(e_comp_wl->ptr.x) - wl_fixed_from_int(ec->client.x);
e_comp_wl->ptr.grab_y = wl_fixed_from_int(e_comp_wl->ptr.y) - wl_fixed_from_int(ec->client.y);
switch (e_comp_wl->ptr.button)
{

View File

@ -1096,8 +1096,6 @@ _e_xdg_toplevel_cb_resize(struct wl_client *client EINA_UNUSED, struct wl_resour
e_comp_wl->resize.resource = resource;
e_comp_wl->resize.edges = edges;
e_comp_wl->ptr.grab_x = wl_fixed_from_int(e_comp_wl->ptr.x) - wl_fixed_from_int(ec->client.x);
e_comp_wl->ptr.grab_y = wl_fixed_from_int(e_comp_wl->ptr.y) - wl_fixed_from_int(ec->client.y);
switch (e_comp_wl->ptr.button)
{