discomfitor pushed a commit to branch master.

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

commit bbb3ec1fc56ce5ebe10ae653222925c9ff80f292
Author: Mike Blumenkrantz <[email protected]>
Date:   Thu Oct 26 13:17:26 2017 -0400

    unset client's mouse-in state on mouse out even while fullscreen or deleted
    
    the state should always be updated regardless of these attributes
---
 src/bin/e_client.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/e_client.c b/src/bin/e_client.c
index 068139bbe..14586599d 100644
--- a/src/bin/e_client.c
+++ b/src/bin/e_client.c
@@ -2973,14 +2973,14 @@ E_API void
 e_client_mouse_out(E_Client *ec, int x, int y)
 {
    if (comp_grabbed) return;
-   if (ec->fullscreen) return;
-   if (e_object_is_del(E_OBJECT(ec))) return;
    if (ec->desk && ec->desk->animate_count) return;
    if (e_pixmap_is_x(ec->pixmap) && E_INSIDE(x, y, ec->x, ec->y, ec->w, 
ec->h)) return;
 
    ec->mouse.current.mx = x;
    ec->mouse.current.my = y;
    ec->mouse.in = 0;
+   if (ec->fullscreen) return;
+   if (e_object_is_del(E_OBJECT(ec))) return;
    if ((!ec->iconic) && (!e_client_util_ignored_get(ec)))
      e_focus_event_mouse_out(ec);
 }

-- 


Reply via email to