ecore_evas/wayland_shm: Do not invert framespace size twice.

This commit is contained in:
Rafael Antognolli 2013-05-06 17:14:09 -03:00
parent 13c0e8f3f3
commit 401265d57e
1 changed files with 1 additions and 4 deletions

View File

@ -553,10 +553,7 @@ _ecore_evas_wayland_shm_resize(Ecore_Evas *ee, int location)
Evas_Engine_Info_Wayland_Shm *einfo;
wdata->win->resizing = EINA_TRUE;
if ((ee->rotation == 90) || (ee->rotation == 270))
evas_output_framespace_get(ee->evas, NULL, NULL, &fh, &fw);
else
evas_output_framespace_get(ee->evas, NULL, NULL, &fw, &fh);
evas_output_framespace_get(ee->evas, NULL, NULL, &fw, &fh);
if ((ee->rotation == 90) || (ee->rotation == 270))
ecore_wl_window_resize(wdata->win, ee->w + fh, ee->h + fw, location);