forked from enlightenment/efl
ecore_evas: when window resized in ecore_evas, check evas rotate state.
Summary: when ecore_evas is resized, get evas' size, but angle not checked, so put a check. @fix Signed-off-by: Umesh Tanwar <umesh.tanwar@samsung.com> Reviewers: Hermet, devilhorns Reviewed By: devilhorns Subscribers: cedric, #committers, zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6627
This commit is contained in:
parent
93ec34eda9
commit
67684dec73
|
@ -460,7 +460,10 @@ _ecore_evas_wl_common_resize(Ecore_Evas *ee, int w, int h)
|
|||
}
|
||||
}
|
||||
|
||||
evas_output_size_get(ee->evas, &ow, &oh);
|
||||
if (ECORE_EVAS_PORTRAIT(ee))
|
||||
evas_output_size_get(ee->evas, &ow, &oh);
|
||||
else
|
||||
evas_output_size_get(ee->evas, &oh, &ow);
|
||||
|
||||
if (ECORE_EVAS_PORTRAIT(ee) && ((ow != w) || (oh != h)))
|
||||
diff = 1;
|
||||
|
|
Loading…
Reference in New Issue