summaryrefslogtreecommitdiff
path: root/src/modules/ecore_evas
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 /src/modules/ecore_evas
parent77db870b6150d6f1bbc0ba6185bd3e14dd217c6b (diff)
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.
Diffstat (limited to 'src/modules/ecore_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 2909ce1..396ca75 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)
1909 einfo->www_avail = !!wdata->win->www_surface; 1909 einfo->www_avail = !!wdata->win->www_surface;
1910 if (!evas_engine_info_set(ee->evas, (Evas_Engine_Info *)einfo)) 1910 if (!evas_engine_info_set(ee->evas, (Evas_Engine_Info *)einfo))
1911 ERR("Failed to set Evas Engine Info for '%s'", ee->driver); 1911 ERR("Failed to set Evas Engine Info for '%s'", ee->driver);
1912 evas_damage_rectangle_add(ee->evas, 0, 0, ee->w + fw, ee->h + fh); 1912 if (ECORE_EVAS_PORTRAIT(ee))
1913 evas_damage_rectangle_add(ee->evas, 0, 0, ee->w + fw, ee->h + fh);
1914 else
1915 evas_damage_rectangle_add(ee->evas, 0, 0, ee->h + fh, ee->w + fw);
1913 } 1916 }
1914 } 1917 }
1915 1918