Enlightenment CVS committal

Author  : atmosphere
Project : e17
Module  : proto

Dir     : e17/proto/esmart/src/container


Modified Files:
        container_smart.c 


Log Message:
Slight fixup, this was leading to some kind of infinite loop
If you resized your container a lot, quickly, it'd segv with a LONG
stacktrace.


===================================================================
RCS file: /cvsroot/enlightenment/e17/proto/esmart/src/container/container_smart.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- container_smart.c   14 Sep 2003 00:30:38 -0000      1.1
+++ container_smart.c   11 Oct 2003 06:32:57 -0000      1.2
@@ -211,11 +211,13 @@
   Container *data;
   
   data = evas_object_smart_data_get(obj);
-
+  if((data->x == x) && (data->y == y))
+      return;
   
 //  evas_object_move(data->clipper, x+ data->padding.l,
 //                          y + data->padding.t);
-
+  if(data->x == x && data->y == y) 
+      return;
   evas_object_move(data->clipper, x, y);
   evas_object_move(data->grabber, x, y);
 




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to