Fix engine_info_get function call being in the wrong place.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2013-04-29 12:56:08 +01:00
parent 64a598d053
commit d3c79b813e
1 changed files with 2 additions and 2 deletions

View File

@ -531,13 +531,13 @@ _ecore_evas_wayland_shm_resize(Ecore_Evas *ee, int location)
else
evas_output_framespace_get(ee->evas, NULL, NULL, &fw, &fh);
if ((einfo = (Evas_Engine_Info_Wayland_Shm *)evas_engine_info_get(ee->evas)))
if ((ee->rotation == 90) || (ee->rotation == 270))
ecore_wl_window_resize(wdata->win, ee->w + fh, ee->h + fw, location);
else
ecore_wl_window_resize(wdata->win, ee->w + fw, ee->h + fh, location);
einfo->info.edges = location;
if ((einfo = (Evas_Engine_Info_Wayland_Shm *)evas_engine_info_get(ee->evas)))
einfo->info.edges = location;
}
}
#endif