diff options
author | Derek Foreman <derekf@osg.samsung.com> | 2018-03-06 16:05:48 -0600 |
---|---|---|
committer | Derek Foreman <derekf@osg.samsung.com> | 2018-03-06 16:06:05 -0600 |
commit | dbdd11aa114500c8a06419af319df5dd8bcd1155 (patch) | |
tree | 9e496df681969185e435a5333b1d5eea1c088c5a /src/lib/efl_wl/efl_wl.c | |
parent | 9c8749b99a03d3601321da6d16071dd7b631d1ae (diff) |
efl_wl: Don't create touch resources with pointer interfaces
Fixes a forced disconnect error.
Diffstat (limited to '')
-rw-r--r-- | src/lib/efl_wl/efl_wl.c | 2 |
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); |