discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=08ee9293dfe8b3e49f7f209e9bf16ea1832efdb5

commit 08ee9293dfe8b3e49f7f209e9bf16ea1832efdb5
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Thu Dec 1 11:20:22 2016 -0500

    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
---
 src/bin/e_comp_wl.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index c53c6de..57dc975 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -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;
 }

-- 


Reply via email to