Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_border.c 


Log Message:


fix werid multihead xinerama problem :)

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_border.c,v
retrieving revision 1.349
retrieving revision 1.350
diff -u -3 -r1.349 -r1.350
--- e_border.c  31 Jul 2005 06:22:31 -0000      1.349
+++ e_border.c  31 Jul 2005 08:25:08 -0000      1.350
@@ -4549,6 +4549,17 @@
                                       bd->y + bd->client_inset.t,
                                       bd->client.w,
                                       bd->client.h);
+       /* if the explicit geometry request asks for the app to be
+        * in another zone - well move it there */
+         {
+            E_Zone *zone;
+            
+            zone = e_container_zone_at_point_get(bd->zone->container,
+                                                 bd->x + (bd->w / 2),
+                                                 bd->y + (bd->h / 2));
+            if (zone != bd->zone)
+              e_border_zone_set(bd, zone);
+         }
      }
 
    /* effect changes to the window border itself */




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to