Enlightenment CVS committal
Author : sebastid
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
e_border.c
Log Message:
Use placement func to find x/y pos.
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_border.c,v
retrieving revision 1.419
retrieving revision 1.420
diff -u -3 -r1.419 -r1.420
--- e_border.c 26 Sep 2005 09:13:43 -0000 1.419
+++ e_border.c 26 Sep 2005 10:07:48 -0000 1.420
@@ -5333,10 +5333,8 @@
bd->cur_mouse_action = NULL;
if (bd->cur_mouse_action)
{
- ecore_x_pointer_xy_get(bd->zone->container->win, &x, &y);
-
- bd->x = x - bd->w / 2;
- bd->y = y - bd->client_inset.t / 2;
+ e_place_zone_manual(bd->zone, bd->x, bd->w,
+ bd->client_inset.t, &bd->x, &bd->y);
bd->moveinfo.down.x = bd->x;
bd->moveinfo.down.y = bd->y;
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs