discomfitor pushed a commit to branch master.

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

commit d7c58215f466822ac4c8d581daf3f40321cae0bc
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Thu Jun 25 19:19:47 2015 -0400

    set wl client surface pointer in surface create method
    
    remnant from when clients were created by the shell
---
 src/bin/e_comp_wl.c                       | 1 +
 src/modules/wl_desktop_shell/e_mod_main.c | 3 ---
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index 42888f3..16d2106 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -1486,6 +1486,7 @@ _e_comp_wl_compositor_cb_surface_create(struct wl_client 
*client, struct wl_reso
              e_comp->new_clients--;
              ec->client.w = ec->client.h = 1;
              ec->ignored = 1;
+             ec->comp_data->surface = res;
           }
      }
 
diff --git a/src/modules/wl_desktop_shell/e_mod_main.c 
b/src/modules/wl_desktop_shell/e_mod_main.c
index 43f03dd..0a23394 100644
--- a/src/modules/wl_desktop_shell/e_mod_main.c
+++ b/src/modules/wl_desktop_shell/e_mod_main.c
@@ -572,7 +572,6 @@ _e_shell_cb_shell_surface_get(struct wl_client *client, 
struct wl_resource *reso
                                   &_e_shell_surface_interface,
                                   ec, _e_shell_surface_cb_destroy);
 
-   cdata->surface = surface_resource;
    cdata->shell.configure_send = _e_shell_surface_configure_send;
    cdata->shell.configure = _e_shell_surface_configure;
    cdata->shell.ping = _e_shell_surface_ping;
@@ -1122,7 +1121,6 @@ _e_xdg_shell_cb_surface_get(struct wl_client *client, 
struct wl_resource *resour
                                   &_e_xdg_surface_interface, ec,
                                   _e_shell_surface_cb_destroy);
 
-   cdata->surface = surface_resource;
    cdata->shell.configure_send = _e_xdg_shell_surface_configure_send;
    cdata->shell.configure = _e_xdg_shell_surface_configure;
    cdata->shell.ping = _e_xdg_shell_surface_ping;
@@ -1210,7 +1208,6 @@ _e_xdg_shell_cb_popup_get(struct wl_client *client, 
struct wl_resource *resource
    wl_resource_set_implementation(cdata->shell.surface,
                                   &_e_xdg_popup_interface, ec, NULL);
 
-   cdata->surface = surface_resource;
    cdata->shell.configure_send = _e_xdg_shell_surface_configure_send;
    cdata->shell.configure = _e_xdg_shell_surface_configure;
    cdata->shell.ping = _e_xdg_shell_surface_ping;

-- 


Reply via email to