Enlightenment CVS committal
Author : tsauerbeck
Project : e17
Module : libs/edje
Dir : e17/libs/edje/src/lib
Modified Files:
edje_calc.c
Log Message:
simplification. raster, have a look at that FIXME, please.
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/edje/src/lib/edje_calc.c,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -3 -r1.51 -r1.52
--- edje_calc.c 30 Oct 2004 14:19:46 -0000 1.51
+++ edje_calc.c 30 Oct 2004 14:28:40 -0000 1.52
@@ -211,17 +211,13 @@
{
if ((ep->part->dragable.x) || (ep->part->dragable.y))
{
- if (ep->confine_to)
- {
- ep->drag.x = x;
- ep->drag.y = y;
- }
- else
- {
- ep->drag.x = x;
- ep->drag.y = y;
- }
+ ep->drag.x = x;
+ ep->drag.y = y;
}
+
+ /* FIXME: is this right? shouldn't we only request a recalc if we
+ * actually changed the values?
+ */
ed->dirty = 1;
_edje_recalc(ed);
}
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs