On Wednesday, September 5, 2012, Enlightenment SVN wrote: > Log: > Elementary: Revert all framespace changes. > > NB: This means elm will be broken in wayland for a while while I sort > out what went wrong in evas.
What if you do these in a branch, or GIT, and leave us with some stable Evas for a while? Sync on regular bases, but after you feel solid about the idea. > > > > Author: devilhorns > Date: 2012-09-05 00:42:57 -0700 (Wed, 05 Sep 2012) > New Revision: 76173 > Trac: http://trac.enlightenment.org/e/changeset/76173 > > Modified: > trunk/elementary/src/lib/elc_naviframe.c > trunk/elementary/src/lib/elm_hover.c trunk/elementary/src/lib/elm_menu.c > trunk/elementary/src/lib/elm_slider.c trunk/elementary/src/lib/elm_toolbar.c > > Modified: trunk/elementary/src/lib/elc_naviframe.c > =================================================================== > --- trunk/elementary/src/lib/elc_naviframe.c 2012-09-05 07:38:05 UTC > (rev 76172) > +++ trunk/elementary/src/lib/elc_naviframe.c 2012-09-05 07:42:57 UTC > (rev 76173) > @@ -703,17 +703,13 @@ > Evas_Coord minw = -1, minh = -1; > Elm_Naviframe_Item *it; > Evas_Coord x, y, w, h; > - Evas_Coord fx, fy; > > ELM_NAVIFRAME_DATA_GET(obj, sd); > > - evas_output_framespace_get(evas_object_evas_get(obj), > - &fx, &fy, NULL, NULL); > - > evas_object_geometry_get(obj, &x, &y, &w, &h); > EINA_INLIST_FOREACH (sd->stack, it) > { > - evas_object_move(VIEW(it), x + fx, y + fy); > + evas_object_move(VIEW(it), x, y); > evas_object_resize(VIEW(it), w, h); > edje_object_size_min_calc(VIEW(it), &it->minw, &it->minh); > if (it->minw > minw) minw = it->minw; > > Modified: trunk/elementary/src/lib/elm_hover.c > =================================================================== > --- trunk/elementary/src/lib/elm_hover.c 2012-09-05 07:38:05 UTC > (rev 76172) > +++ trunk/elementary/src/lib/elm_hover.c 2012-09-05 07:42:57 UTC > (rev 76173) > @@ -296,17 +296,7 @@ > > if (sd->on_del) return; > > - if (sd->parent) > - { > - Evas_Coord fx, fy; > - > - evas_output_framespace_get(evas_object_evas_get(obj), > - &fx, &fy, NULL, NULL); > - evas_object_geometry_get(sd->parent, &x, &y, &w, &h); > - x += fx; > - y += fy; > - } > - > + if (sd->parent) evas_object_geometry_get(sd->parent, &x, &y, &w, &h); > evas_object_geometry_get(obj, &x2, &y2, &w2, &h2); > > if (elm_widget_mirrored_get(obj)) ofs_x = w - (x2 - x) - w2; > > Modified: trunk/elementary/src/lib/elm_menu.c > =================================================================== > --- trunk/elementary/src/lib/elm_menu.c 2012-09-05 07:38:05 UTC (rev 76172) > +++ trunk/elementary/src/lib/elm_menu.c 2012-09-05 07:42:57 UTC (rev 76173) > @@ -131,7 +131,6 @@ > Eina_List *l; > Elm_Menu_Item *item; > Evas_Coord x_p, y_p, w_p, h_p, x2, y2, w2, h2, bw, bh; > - Evas_Coord fx, fy; > > ELM_MENU_DATA_GET(obj, sd); > > @@ -143,11 +142,9 @@ > evas_object_geometry_get(sd->location, NULL, NULL, &w_p, &h_p); > evas_object_geometry_get(sd->parent, &x2, &y2, &w2, &h2); > evas_object_geometry_get(sd->bx, NULL, NULL, &bw, &bh); > - evas_output_framespace_get(evas_object_evas_get(sd->bx), > - &fx, &fy, NULL, NULL); > > - x_p = sd->xloc - fx; > - y_p = sd->yloc - fy; > + x_p = sd->xloc; > + y_p = sd->yloc; > > if (elm_widget_mirrored_get(obj)) x_p -= w_p; > > > Modified: trunk/elementary/src/lib/elm_slider.c > =================================================================== > --- trunk/elementary/src/lib/elm_slider.c 2012-09-05 07:38:05 UTC > (rev 76172) > +++ trunk/elementary/src/lib/elm_slider.c 2012-09-05 07:42:57 UTC > (rev 76173) > @@ -589,12 +589,10 @@ > void *event_info __UNUSED__) > { > Evas_Coord x, y; > - int fy = 0; > > ELM_SLIDER_DATA_GET(data, sd); > evas_object_geometry_get(obj, &x, &y, NULL, NULL); > - evas_output_framespace_get(e, NULL, &fy, NULL, NULL); > - evas_object_move(sd->popup, x, y - fy); > + evas_object_move(sd->popup, x, y); > } > > static void > > Modified: trunk/elementary/src/lib/elm_toolbar.c > =================================================================== > --- trunk/elementary/src/lib/elm_toolbar.c 2012-09-05 07:38:05 UTC > (rev 76172) > +++ trunk/elementary/src/lib/elm_toolbar.c 2012-09-05 07:42:57 UTC > (rev 76173) > @@ -471,14 +471,11 @@ > void *event_info __UNUSED__) > { > Evas_Coord x, y, h; > - Evas_Coord fy; > > ELM_TOOLBAR_DATA_GET(data, sd); > > - evas_output_framespace_get(evas_object_evas_get(data), > - NULL, &fy, NULL, NULL); > evas_object_geometry_get(data, &x, &y, NULL, &h); > - evas_object_move(sd->more, x, (y + h) - fy); > + evas_object_move(sd->more, x, y + h); > > if (!sd->resize_job) > sd->resize_job = ecore_job_add(_resize_job, data); > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > enlightenment-svn mailing list > enlightenment-...@lists.sourceforge.net <javascript:;> > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn > -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -------------------------------------- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel