summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHyunho Kang <hhstark.kang@samsung.com>2016-11-04 06:09:00 (GMT)
committerHyunho Kang <hhstark.kang@samsung.com>2016-11-04 06:10:50 (GMT)
commit673334fec025bba47fd2e991c51799991c711a91 (patch)
treeaa8b1615d894f754ac7683d172470b1e01166344
parent3e5a3722d1c5eac5ace12892d8b00009949eeefe (diff)
downloadui-gadget-1-673334fec025bba47fd2e991c51799991c711a91.zip
ui-gadget-1-673334fec025bba47fd2e991c51799991c711a91.tar.gz
ui-gadget-1-673334fec025bba47fd2e991c51799991c711a91.tar.bz2
Default rotation enable for 2.4 consistency Change-Id: I7ffaa10266819645aa6d16870090a31a21326e7e Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
-rw-r--r--client/ug-client.c4
1 files 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);