summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-10-18 11:38:48 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-10-31 12:10:08 -0400
commitd15c72417c03882e3474d07d59b34a163215ded9 (patch)
tree3874563ba685506181577ae577946d4ab90dd971
parent854ead5027e02839de596ee0c3b91073555947a2 (diff)
downloadenlightenment-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.c1
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);