Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_fm.c e_test.c 


Log Message:


limit scroll so you dont go off the ends

===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_fm.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- e_fm.c      15 Jul 2006 16:29:13 -0000      1.2
+++ e_fm.c      15 Jul 2006 17:10:12 -0000      1.3
@@ -211,6 +211,10 @@
    if (!sd) return; // safety
    if (!evas_object_type_get(obj)) return; // safety
    if (strcmp(evas_object_type_get(obj), "e_fm")) return; // safety
+   if (x > (sd->max.w - sd->w)) x = sd->max.w - sd->w;
+   if (x < 0) x = 0;
+   if (y > (sd->max.h - sd->h)) y = sd->max.h - sd->h;
+   if (y < 0) y = 0;
    if ((sd->pos.x == x) && (sd->pos.y == y)) return;
    sd->pos.x = x;
    sd->pos.y = y;
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_test.c,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -3 -r1.49 -r1.50
--- e_test.c    15 Jul 2006 16:29:14 -0000      1.49
+++ e_test.c    15 Jul 2006 17:10:12 -0000      1.50
@@ -584,7 +584,7 @@
    
    evas_object_focus_set(o, 1);
 }
-#elif 0
+#elif 1
 static void
 _e_test_internal(E_Container *con)
 {




-------------------------------------------------------------------------
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