aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiyoun Park <jy0703.park@samsung.com>2017-07-26 15:28:02 +0900
committerJiyoun Park <jy0703.park@samsung.com>2017-07-26 15:28:02 +0900
commit6d4ebf9bc696b59fc94a711a1d3332791efab90c (patch)
tree2f376bc5fa7b7463847f7a5a51e2abf5283b8a32
parentelm_code: Fix missing middle button selection paste (diff)
downloadefl-devs/thiep/size.test.tar.gz
ecore_evas_wayland: fix bug ecore_evas cannot update the evas when rotationdevs/thiep/size.test
usecase: show -> rotation -> hide -> show ecore_evas_wayland didn't check the rotation. when ee is landscapemode, it cannot update the right area of evas.
-rw-r--r--src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
index 2909ce1312..396ca75733 100644
--- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
+++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
@@ -1909,7 +1909,10 @@ _ecore_evas_wl_common_show(Ecore_Evas *ee)
einfo->www_avail = !!wdata->win->www_surface;
if (!evas_engine_info_set(ee->evas, (Evas_Engine_Info *)einfo))
ERR("Failed to set Evas Engine Info for '%s'", ee->driver);
- evas_damage_rectangle_add(ee->evas, 0, 0, ee->w + fw, ee->h + fh);
+ if (ECORE_EVAS_PORTRAIT(ee))
+ evas_damage_rectangle_add(ee->evas, 0, 0, ee->w + fw, ee->h + fh);
+ else
+ evas_damage_rectangle_add(ee->evas, 0, 0, ee->h + fh, ee->w + fw);
}
}