derekf pushed a commit to branch efl-1.20.

http://git.enlightenment.org/core/efl.git/commit/?id=8bdc4a54c573236e8bd2e37c26ddf4febc8d0d83

commit 8bdc4a54c573236e8bd2e37c26ddf4febc8d0d83
Author: Derek Foreman <der...@osg.samsung.com>
Date:   Tue Mar 6 16:05:48 2018 -0600

    efl_wl: Don't create touch resources with pointer interfaces
    
    Fixes a forced disconnect error.
---
 src/lib/efl_wl/efl_wl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/efl_wl/efl_wl.c b/src/lib/efl_wl/efl_wl.c
index 78c107272d..94fb391de0 100644
--- a/src/lib/efl_wl/efl_wl.c
+++ b/src/lib/efl_wl/efl_wl.c
@@ -3837,7 +3837,7 @@ seat_tch_create(struct wl_client *client, struct 
wl_resource *resource, uint32_t
    Comp_Seat *s = wl_resource_get_user_data(resource);
    struct wl_resource *res;
 
-   res = wl_resource_create(client, &wl_pointer_interface, 
wl_resource_get_version(resource), id);
+   res = wl_resource_create(client, &wl_touch_interface, 
wl_resource_get_version(resource), id);
    wl_resource_set_implementation(res, &seat_tch_interface, s, 
seat_tch_unbind);
    if (!s->tch.resources) s->tch.resources = eina_hash_pointer_new(NULL);
    eina_hash_list_append(s->tch.resources, &client, res);

-- 


Reply via email to