Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_dnd.c e_zone.c 


Log Message:
Don't flip desks if the zone no longer is current.

===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_dnd.c,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -3 -r1.45 -r1.46
--- e_dnd.c     10 Aug 2006 11:10:11 -0000      1.45
+++ e_dnd.c     10 Aug 2006 14:36:59 -0000      1.46
@@ -5,8 +5,6 @@
 
 /* FIXME: broken when drop areas intersect 
  * (sub window has drop area on top of lower window or desktop)
- * 
- * When moving from one zone to another, the flip timer in the previous zone 
must be reset.
  */
 /*
  * TODO:
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_zone.c,v
retrieving revision 1.99
retrieving revision 1.100
diff -u -3 -r1.99 -r1.100
--- e_zone.c    10 Aug 2006 05:01:07 -0000      1.99
+++ e_zone.c    10 Aug 2006 14:36:59 -0000      1.100
@@ -951,6 +951,11 @@
    if (!ev) return 0;
 
    zone = data;
+   if (zone != e_zone_current_get(zone->container))
+     {
+       zone->flip.timer = NULL;
+       return 0;
+     }
 
    ecore_x_pointer_xy_get(zone->container->win, &x, &y);
    ev->prev.x = x;



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to