feed mouse move and canvas mouse up upon breaking a wl surface grab

ensure that the hw pointer location and the cursor location match after grabs

fix T4939
This commit is contained in:
Mike Blumenkrantz 2016-12-01 11:20:22 -05:00
parent a94ba7cbfd
commit 08ee9293df
1 changed files with 2 additions and 0 deletions

View File

@ -3486,5 +3486,7 @@ e_comp_wl_grab_client_mouse_button(const Ecore_Event_Mouse_Button *ev)
e_comp_wl_grab_client_del(ec, 1);
while (grab_clients)
e_comp_wl_grab_client_del(eina_list_last_data_get(grab_clients), 1);
evas_event_feed_mouse_move(e_comp->evas, ev->x, ev->y, 0, NULL);
e_comp_canvas_feed_mouse_up(0);
return ECORE_CALLBACK_DONE;
}