summaryrefslogtreecommitdiff
path: root/src/lib/efl_wl
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2018-03-06 16:05:48 -0600
committerDerek Foreman <derekf@osg.samsung.com>2018-03-06 16:06:05 -0600
commitdbdd11aa114500c8a06419af319df5dd8bcd1155 (patch)
tree9e496df681969185e435a5333b1d5eea1c088c5a /src/lib/efl_wl
parent9c8749b99a03d3601321da6d16071dd7b631d1ae (diff)
efl_wl: Don't create touch resources with pointer interfaces
Fixes a forced disconnect error.
Diffstat (limited to 'src/lib/efl_wl')
-rw-r--r--src/lib/efl_wl/efl_wl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/efl_wl/efl_wl.c b/src/lib/efl_wl/efl_wl.c
index aa4925d30d..0682f0e489 100644
--- a/src/lib/efl_wl/efl_wl.c
+++ b/src/lib/efl_wl/efl_wl.c
@@ -4000,7 +4000,7 @@ seat_tch_create(struct wl_client *client, struct wl_resource *resource, uint32_t
4000 Comp_Seat *s = wl_resource_get_user_data(resource); 4000 Comp_Seat *s = wl_resource_get_user_data(resource);
4001 struct wl_resource *res; 4001 struct wl_resource *res;
4002 4002
4003 res = wl_resource_create(client, &wl_pointer_interface, wl_resource_get_version(resource), id); 4003 res = wl_resource_create(client, &wl_touch_interface, wl_resource_get_version(resource), id);
4004 wl_resource_set_implementation(res, &seat_tch_interface, s, seat_tch_unbind); 4004 wl_resource_set_implementation(res, &seat_tch_interface, s, seat_tch_unbind);
4005 if (!s->tch.resources) s->tch.resources = eina_hash_pointer_new(NULL); 4005 if (!s->tch.resources) s->tch.resources = eina_hash_pointer_new(NULL);
4006 eina_hash_list_append(s->tch.resources, &client, res); 4006 eina_hash_list_append(s->tch.resources, &client, res);