raster pushed a commit to branch master.

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

commit e9de31249a2aea1b8a8c58a10816871abfebf090
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Fri Dec 16 19:03:21 2016 +0900

    stacks - fix crash for pointer warp when client is null
---
 src/bin/e_client.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_client.c b/src/bin/e_client.c
index dbfed5f..6255ec5 100644
--- a/src/bin/e_client.c
+++ b/src/bin/e_client.c
@@ -5442,7 +5442,7 @@ e_client_pointer_warp_to_center(E_Client *ec)
        (y >= ec->y) && (y <= (ec->y + ec->h)))
      {
         cec = _e_client_under_pointer_helper(ec->desk, ec, x, y);
-        cec = e_client_stack_active_adjust(cec);
+        if (cec) cec = e_client_stack_active_adjust(cec);
         if (cec == ec) return 0;
      }
 

-- 


Reply via email to