discomfitor pushed a commit to branch enlightenment-0.21.

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

commit 68a3cee2af44492811cefc1bb3764b9b696b8340
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 328bc333e..7799dc31e 100644
--- a/src/bin/e_client.c
+++ b/src/bin/e_client.c
@@ -2674,14 +2674,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