Enlightenment CVS committal
Author : raster
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
e_border.c
Log Message:
there was a segv... and now it's fixed! :)
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_border.c,v
retrieving revision 1.353
retrieving revision 1.354
diff -u -3 -r1.353 -r1.354
--- e_border.c 5 Aug 2005 03:08:28 -0000 1.353
+++ e_border.c 9 Aug 2005 02:42:34 -0000 1.354
@@ -4570,7 +4570,23 @@
zone = e_container_zone_at_point_get(bd->zone->container,
bd->x + (bd->w / 2),
bd->y + (bd->h / 2));
- if (zone != bd->zone)
+ if (!zone)
+ zone = e_container_zone_at_point_get(bd->zone->container,
+ bd->x,
+ bd->y);
+ if (!zone)
+ zone = e_container_zone_at_point_get(bd->zone->container,
+ bd->x + bd->w - 1,
+ bd->y);
+ if (!zone)
+ zone = e_container_zone_at_point_get(bd->zone->container,
+ bd->x + bd->w - 1,
+ bd->y + bd->h - 1);
+ if (!zone)
+ zone = e_container_zone_at_point_get(bd->zone->container,
+ bd->x,
+ bd->y + bd->h - 1);
+ if ((zone) && (zone != bd->zone))
e_border_zone_set(bd, zone);
}
}
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs