Some devices set all applications preferred rotation to 90 degree
widget app sould not be rotated becasue viewer will be rotated
Change-Id: I1ad6204423ee7845c4ccf21614fc8eaae246bc01
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Ecore_Wl_Window *wl_win;
struct wl_surface *surface;
char buffer[256];
+ int rots[3] = {0};
if (!_is_widget_feature_enabled()) {
_E("not supported"); /* LCOV_EXCL_LINE */
goto fault; /* LCOV_EXCL_LINE */
}
+ elm_win_wm_rotation_preferred_rotation_set(ret_win, -1);
+ elm_win_wm_rotation_available_rotations_set(ret_win, rots, 1);
+
wl_win = elm_win_wl_window_get(ret_win);
if (wl_win == NULL) {
_E("failed to get wayland window"); /* LCOV_EXCL_LINE */