ecore-evas-wayland: Fix issue of passing wrong values to resize

Coverity detected that the same code was being passed to resize
regardless of canvas orientation. This patch fixes the issue by
passing the proper values to window_resize.

Fixes Coverity CID1357150

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
This commit is contained in:
Chris Michael 2016-06-30 11:03:07 -04:00
parent 0eac1e4372
commit 0da58a8d78
1 changed files with 1 additions and 1 deletions

View File

@ -604,7 +604,7 @@ _ecore_evas_wayland_shm_resize(Ecore_Evas *ee, int location)
if (ECORE_EVAS_PORTRAIT(ee))
ecore_wl2_window_resize(wdata->win, ee->w, ee->h, location);
else
ecore_wl2_window_resize(wdata->win, ee->w, ee->h, location);
ecore_wl2_window_resize(wdata->win, ee->h, ee->w, location);
}
}