discomfitor pushed a commit to branch enlightenment-0.20.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=08867e544099387f938b8f680ce0b86715f8fca2

commit 08867e544099387f938b8f680ce0b86715f8fca2
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Wed Jun 1 13:07:45 2016 -0400

    force mouse-in again during comp ungrab if client previously had mouse-in
    
    unfocus performs a mouse-out, so this is necessary in order to allow events
    to reach the client again after a grab ends
---
 src/bin/e_comp.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c
index 78f3869..db255ac 100644
--- a/src/bin/e_comp.c
+++ b/src/bin/e_comp.c
@@ -1696,8 +1696,15 @@ e_comp_ungrab_input(Eina_Bool mouse, Eina_Bool kbd)
 
         if (e_comp->comp_type == E_PIXMAP_TYPE_WL)
           {
+             Eina_Bool mouse_in = ec->mouse.in;
+             int x, y;
+
+             x = ec->mouse.current.mx;
+             y = ec->mouse.current.my;
              evas_object_focus_set(ec->frame, 0);
              evas_object_focus_set(ec->frame, 1);
+             if (mouse_in)
+               e_client_mouse_in(ec, x, y);
           }
         return;
      }

-- 


Reply via email to