discomfitor pushed a commit to branch enlightenment-0.21. http://git.enlightenment.org/core/enlightenment.git/commit/?id=2afb298b755930fe93717fde380cb477d314ee9f
commit 2afb298b755930fe93717fde380cb477d314ee9f Author: Mike Blumenkrantz <[email protected]> Date: Wed Oct 18 11:41:04 2017 -0400 set null input regions for surfaces upon calling set_cursor or start_drag these surfaces have no input region according to spec --- src/bin/e_comp_wl_data.c | 7 +++++++ src/bin/e_comp_wl_input.c | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/src/bin/e_comp_wl_data.c b/src/bin/e_comp_wl_data.c index 48cab4ab1..607c649db 100644 --- a/src/bin/e_comp_wl_data.c +++ b/src/bin/e_comp_wl_data.c @@ -647,6 +647,13 @@ _e_comp_wl_data_device_cb_drag_start(struct wl_client *client, struct wl_resourc EC_CHANGED(ec); e_comp_wl->drag_client = ec; } + if (ec->comp_data->pending.input) + eina_tiler_clear(ec->comp_data->pending.input); + else + { + ec->comp_data->pending.input = eina_tiler_new(65535, 65535); + eina_tiler_tile_size_set(ec->comp_data->pending.input, 1, 1); + } } EINA_LIST_FOREACH(e_comp_wl->ptr.resources, l, res) diff --git a/src/bin/e_comp_wl_input.c b/src/bin/e_comp_wl_input.c index 776e44763..f8b07473b 100644 --- a/src/bin/e_comp_wl_input.c +++ b/src/bin/e_comp_wl_input.c @@ -85,6 +85,13 @@ _e_comp_wl_input_pointer_cb_cursor_set(struct wl_client *client, struct wl_resou * are being processed... let's BAIL. */ if (!ec) return; + if (ec->comp_data->pending.input) + eina_tiler_clear(ec->comp_data->pending.input); + else + { + ec->comp_data->pending.input = eina_tiler_new(65535, 65535); + eina_tiler_tile_size_set(ec->comp_data->pending.input, 1, 1); + } if (!ec->re_manage) { ec->comp_data->cursor = ec->re_manage = 1; --
