forked from enlightenment/efl
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:
parent
0eac1e4372
commit
0da58a8d78
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue