discomfitor pushed a commit to branch enlightenment-0.19.

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

commit d9b6e250751e7f3ab15b71058d0550c3c027d4e5
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Thu Feb 12 16:18:46 2015 -0500

    add E_Client->mouse.in for determining mouse-in status
---
 src/bin/e_client.c | 2 ++
 src/bin/e_client.h | 1 +
 2 files changed, 3 insertions(+)

diff --git a/src/bin/e_client.c b/src/bin/e_client.c
index 54d613e..e8d62e8 100644
--- a/src/bin/e_client.c
+++ b/src/bin/e_client.c
@@ -2775,6 +2775,7 @@ e_client_mouse_in(E_Client *ec, int x, int y)
    if (ec->desk && ec->desk->animate_count) return;
    ec->mouse.current.mx = x;
    ec->mouse.current.my = y;
+   ec->mouse.in = 1;
    if (!ec->iconic)
      e_focus_event_mouse_in(ec);
 }
@@ -2790,6 +2791,7 @@ e_client_mouse_out(E_Client *ec, int x, int y)
 
    ec->mouse.current.mx = x;
    ec->mouse.current.my = y;
+   ec->mouse.in = 0;
    if (!ec->iconic)
      e_focus_event_mouse_out(ec);
 }
diff --git a/src/bin/e_client.h b/src/bin/e_client.h
index 4396278..3e14b9e 100644
--- a/src/bin/e_client.h
+++ b/src/bin/e_client.h
@@ -272,6 +272,7 @@ struct E_Client
          int x, y, w, h;
          int mx, my;
       } current, last_down[3], last_up[3];
+      Eina_Bool in : 1;
    } mouse;
 
    struct

-- 


Reply via email to