From 673334fec025bba47fd2e991c51799991c711a91 Mon Sep 17 00:00:00 2001 From: Hyunho Kang Date: Fri, 4 Nov 2016 15:09:00 +0900 Subject: Fix ug default rotation Default rotation enable for 2.4 consistency Change-Id: I7ffaa10266819645aa6d16870090a31a21326e7e Signed-off-by: Hyunho Kang --- client/ug-client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/ug-client.c b/client/ug-client.c index c1aa630..d5fbac3 100644 --- a/client/ug-client.c +++ b/client/ug-client.c @@ -329,14 +329,14 @@ static int app_create(void *data) } else { LOGE("elm win rotation get error"); } - /* + if (elm_win_wm_rotation_supported_get(win)) { int rots[4] = { 0, 90, 180, 270 }; elm_win_wm_rotation_available_rotations_set(win, (const int*)&rots, 4); } else { LOGW("wm rotation supported get error"); } - */ + evas_object_smart_callback_add(win, "wm,rotation,changed", rotate, data); appcore_set_event_callback(APPCORE_EVENT_LOW_MEMORY, low_memory, ad); -- cgit v1.2.3