ignore set_input_region requests for wl surfaces which are cursors or drags

according to spec this is correct behavior
This commit is contained in:
Mike Blumenkrantz 2017-10-18 11:38:48 -04:00
parent 854ead5027
commit d15c72417c
1 changed files with 1 additions and 0 deletions

View File

@ -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);