When creating the canvas for a zone, use the zone->x & zone->y as canvas
authorChristopher Michael <cpmichael1@comcast.net>
Thu, 14 Jan 2010 18:24:14 +0000 (18:24 +0000)
committerChristopher Michael <cpmichael1@comcast.net>
Thu, 14 Jan 2010 18:24:14 +0000 (18:24 +0000)
position rather than always at zero/zero.

SVN revision: 45116

src/bin/e_zone.c

index 2b694c8..9514405 100644 (file)
@@ -168,7 +168,7 @@ e_zone_new(E_Container *con, int num, int id, int x, int y, int w, int h)
    /* TODO: config the ecore_evas type. */
    zone->black_ecore_evas = 
      e_canvas_new(e_config->evas_engine_zone, zone->container->win,
-                  0, 0, zone->w, zone->h, 1, 1, &(zone->black_win));
+                  zone->x, zone->y, zone->w, zone->h, 1, 1, &(zone->black_win));
    e_canvas_add(zone->black_ecore_evas);
    ecore_evas_layer_set(zone->black_ecore_evas, 6);
    zone->black_evas = ecore_evas_get(zone->black_ecore_evas);