add render updates for cursor clients if damages exist during set_cursor

this indicates a cursor surface which has been committed but could not be
rendered due to lack of shell interface and cursor hint
This commit is contained in:
Mike Blumenkrantz 2016-01-20 16:23:02 -05:00
parent 45d8cb6b5e
commit 8ddc98d3a7
1 changed files with 2 additions and 0 deletions

View File

@ -62,6 +62,8 @@ _e_comp_wl_input_pointer_cb_cursor_set(struct wl_client *client, struct wl_resou
ec->icccm.title = eina_stringshare_add("noshadow");
evas_object_pass_events_set(ec->frame, 1);
evas_object_show(ec->frame);
if (e_comp_object_damage_exists(ec->frame))
e_comp_object_render_update_add(ec->frame);
ec->comp_data->mapped = 1;
e_client_focus_stack_set(eina_list_remove(e_client_focus_stack_get(), ec));
EC_CHANGED(ec);