efl_selection_manager: Stop calling ecore_wl2_input_ungrab

Summary:
This "ungrab" thing appears to just send a mouse up event in some
situations.

This already happens at *start* of drag, so at best calling it again will
do nothing, and at worst it'll break input.
Depends on D6125

Reviewers: zmike, cedric

Reviewed By: zmike

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D6126
This commit is contained in:
Derek Foreman 2018-05-08 13:26:39 -05:00
parent 4f720657d2
commit 83f2f086a5
1 changed files with 0 additions and 3 deletions

View File

@ -2703,7 +2703,6 @@ _wl_dnd_end(void *data, int type EINA_UNUSED, void *event)
Ecore_Wl2_Event_Data_Source_End *ev;
Sel_Manager_Seat_Selection *seat_sel;
Sel_Manager_Selection *sel;
Ecore_Wl2_Window *win;
ev = event;
seat_sel = _wl_sel_manager_seat_selection_init(pd, ev->seat);
@ -2732,8 +2731,6 @@ _wl_dnd_end(void *data, int type EINA_UNUSED, void *event)
}
seat_sel->accept = EINA_FALSE;
win = ecore_wl2_display_window_find(_elm_wl_display, ev->win);
ecore_wl2_input_ungrab(_wl_seat_get(win, NULL, seat_sel->seat));
return ECORE_CALLBACK_PASS_ON;
}