Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        actions.c borders.c 


Log Message:
Tweak frame action handling.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/actions.c,v
retrieving revision 1.180
retrieving revision 1.181
diff -u -3 -r1.180 -r1.181
--- actions.c   4 Dec 2004 12:38:18 -0000       1.180
+++ actions.c   5 Dec 2004 09:57:05 -0000       1.181
@@ -447,7 +447,10 @@
        mouse = 1;
        break;
      case LeaveNotify:
-       if (ev->xcrossing.detail == NotifyNonlinearVirtual)
+       /* If frame window, quit if pointer is still inside */
+       if (ewin && ev->xcrossing.window == ewin->win &&
+           (ev->xcrossing.x >= 0 && ev->xcrossing.x < ewin->w &&
+            ev->xcrossing.y >= 0 && ev->xcrossing.y < ewin->h))
           EDBUG_RETURN(0);
        type = EVENT_MOUSE_LEAVE;
        button = -1;
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/borders.c,v
retrieving revision 1.236
retrieving revision 1.237
diff -u -3 -r1.236 -r1.237
--- borders.c   4 Dec 2004 12:38:18 -0000       1.236
+++ borders.c   5 Dec 2004 09:57:08 -0000       1.237
@@ -2272,6 +2272,8 @@
       Efree(b->name);
    if (b->group_border_name)
       Efree(b->group_border_name);
+   if (b->aclass)
+      b->aclass->ref_count--;
 
    EDBUG_RETURN_;
 }




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to