discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=1bf6c2d5c3b41491aa29959f9f2b0efe99e6f77a

commit 1bf6c2d5c3b41491aa29959f9f2b0efe99e6f77a
Author: Mike Blumenkrantz <[email protected]>
Date:   Fri Feb 24 14:15:42 2017 -0500

    remove e_comp_wl->ptr.grab_x/y
    
    unused
---
 src/bin/e_comp_wl.h                     | 1 -
 src/modules/wl_desktop_shell/wl_shell.c | 2 --
 src/modules/wl_desktop_shell/xdg5.c     | 2 --
 src/modules/wl_desktop_shell/xdg6.c     | 2 --
 4 files changed, 7 deletions(-)

diff --git a/src/bin/e_comp_wl.h b/src/bin/e_comp_wl.h
index 0b45241..41e9b51 100644
--- a/src/bin/e_comp_wl.h
+++ b/src/bin/e_comp_wl.h
@@ -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;
diff --git a/src/modules/wl_desktop_shell/wl_shell.c 
b/src/modules/wl_desktop_shell/wl_shell.c
index 1d84982..37731ba 100644
--- a/src/modules/wl_desktop_shell/wl_shell.c
+++ b/src/modules/wl_desktop_shell/wl_shell.c
@@ -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)
      {
diff --git a/src/modules/wl_desktop_shell/xdg5.c 
b/src/modules/wl_desktop_shell/xdg5.c
index cb12d50..ba38622 100644
--- a/src/modules/wl_desktop_shell/xdg5.c
+++ b/src/modules/wl_desktop_shell/xdg5.c
@@ -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)
      {
diff --git a/src/modules/wl_desktop_shell/xdg6.c 
b/src/modules/wl_desktop_shell/xdg6.c
index ab14245..f8d227f 100644
--- a/src/modules/wl_desktop_shell/xdg6.c
+++ b/src/modules/wl_desktop_shell/xdg6.c
@@ -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)
      {

-- 


Reply via email to