diff options
author | Mike Blumenkrantz <zmike@osg.samsung.com> | 2017-10-18 11:38:48 -0400 |
---|---|---|
committer | Mike Blumenkrantz <zmike@osg.samsung.com> | 2017-10-31 12:10:08 -0400 |
commit | d15c72417c03882e3474d07d59b34a163215ded9 (patch) | |
tree | 3874563ba685506181577ae577946d4ab90dd971 | |
parent | 854ead5027e02839de596ee0c3b91073555947a2 (diff) | |
download | enlightenment-d15c72417c03882e3474d07d59b34a163215ded9.tar.gz |
ignore set_input_region requests for wl surfaces which are cursors or drags
according to spec this is correct behavior
-rw-r--r-- | src/bin/e_comp_wl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c index 550ba3da10..e199b739e7 100644 --- a/src/bin/e_comp_wl.c +++ b/src/bin/e_comp_wl.c @@ -1726,6 +1726,7 @@ _e_comp_wl_surface_cb_input_region_set(struct wl_client *client EINA_UNUSED, str if (!(ec = wl_resource_get_user_data(resource))) return; if (e_object_is_del(E_OBJECT(ec))) return; + if (ec->comp_data->cursor || (ec == e_comp_wl->drag_client)) return; if (ec->comp_data->pending.input) eina_tiler_free(ec->comp_data->pending.input); |