Enlightenment CVS committal
Author : englebass
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
e_border.c
Log Message:
Center dialogs without parent.
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_border.c,v
retrieving revision 1.569
retrieving revision 1.570
diff -u -3 -r1.569 -r1.570
--- e_border.c 12 Jan 2007 13:14:54 -0000 1.569
+++ e_border.c 13 Feb 2007 02:34:09 -0000 1.570
@@ -5786,6 +5786,17 @@
bd->changes.pos = 1;
bd->placed = 1;
}
+ if (bd->leader)
+ {
+ /* TODO: Place in center of group */
+ }
+ if (bd->client.netwm.type == ECORE_X_WINDOW_TYPE_DIALOG)
+ {
+ bd->x = bd->zone->x + ((bd->zone->w - bd->w) / 2);
+ bd->y = bd->zone->y + ((bd->zone->h - bd->h) / 2);
+ bd->changes.pos = 1;
+ bd->placed = 1;
+ }
if (!bd->placed)
{
Evas_List *skiplist = NULL;
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs