forked from enlightenment/efl
efl/evas/examples: Remove framespace offset from example.
The example should not account for the framespace, since this is handled inside ecore_evas already. This change partially fix #1673. SVN revision: 83041
This commit is contained in:
parent
4b552cb9f7
commit
167c19ca29
|
@ -120,12 +120,9 @@ static void
|
|||
_ecore_evas_obj_callback_resize(void *data, Evas *e, Evas_Object *obj, void *event_info EINA_UNUSED)
|
||||
{
|
||||
Ecore_Evas *ee = data;
|
||||
Evas_Coord ow, oh, fw, fh;
|
||||
Evas_Coord ow, oh;
|
||||
|
||||
evas_object_geometry_get(obj, NULL, NULL, &ow, &oh);
|
||||
evas_output_framespace_get(e, NULL, NULL, &fw, &fh);
|
||||
ow += fw;
|
||||
oh += fh;
|
||||
ecore_evas_resize(ee, ow, oh);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue