discomfitor pushed a commit to branch master.

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

commit c4a9adebc8f157de93e41d020c0a2e63ea5505f1
Author: Mike Blumenkrantz <[email protected]>
Date:   Fri Feb 21 17:53:14 2014 -0500

    bugfix: don't use raise stack for iterating clients
    
    T914
---
 src/bin/e_client.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/bin/e_client.c b/src/bin/e_client.c
index ff07713..f5d651e 100644
--- a/src/bin/e_client.c
+++ b/src/bin/e_client.c
@@ -1036,14 +1036,13 @@ static E_Client *
 _e_client_under_pointer_helper(E_Desk *desk, E_Client *exclude, int x, int y)
 {
    E_Client *ec = NULL, *cec;
-   Eina_List *l;
 
-   EINA_LIST_FOREACH(raise_stack, l, cec)
+   E_CLIENT_REVERSE_FOREACH(desk->zone->comp, cec)
      {
         /* If a border was specified which should be excluded from the list
          * (because it will be closed shortly for example), skip */
+        if (e_client_util_ignored_get(cec) || 
(!e_client_util_desk_visible(cec, desk))) continue;
         if ((exclude) && (cec == exclude)) continue;
-        if ((desk) && (cec->desk != desk)) continue;
         if (!E_INSIDE(x, y, cec->x, cec->y, cec->w, cec->h))
           continue;
         /* If the layer is higher, the position of the window is higher

-- 


Reply via email to