diff options
author | Derek Foreman <derekf@osg.samsung.com> | 2018-05-08 13:26:39 -0500 |
---|---|---|
committer | Derek Foreman <derekf@osg.samsung.com> | 2018-05-08 13:26:39 -0500 |
commit | 83f2f086a5bec52e4b51158f8f663c4317730c75 (patch) | |
tree | 729ef990257acbf169b54031c8bf34d381e54edf | |
parent | 4f720657d2ce9fbe3209cd8c2b10daad822712c9 (diff) | |
download | efl-83f2f086a5bec52e4b51158f8f663c4317730c75.tar.gz |
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
-rw-r--r-- | src/lib/elementary/efl_selection_manager.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/lib/elementary/efl_selection_manager.c b/src/lib/elementary/efl_selection_manager.c index b9165c5aaa..68033a60b7 100644 --- a/src/lib/elementary/efl_selection_manager.c +++ b/src/lib/elementary/efl_selection_manager.c @@ -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; } |