From: huiyu.eun Date: Fri, 16 Jun 2017 07:03:48 +0000 (+0900) Subject: [SDL_Tizen] Fix orientation issue X-Git-Tag: accepted/tizen/unified/20170710.154330~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a1aef9c0ebd6fe72073bd8c022c56a75c0f97fb9;p=platform%2Fupstream%2FSDL.git [SDL_Tizen] Fix orientation issue Set rotation in _tizen_window_orientaiton_hint_callback function Change-Id: Id68e833897e99d65a41a351449a84a730b9788d1 Signed-off-by: huiyu.eun --- diff --git a/src/video/tizen/SDL_tizenwindow.c b/src/video/tizen/SDL_tizenwindow.c index cf79c38..16d8aef 100755 --- a/src/video/tizen/SDL_tizenwindow.c +++ b/src/video/tizen/SDL_tizenwindow.c @@ -347,11 +347,12 @@ _tizen_window_orientaiton_hint_callback(void *userdata, const char *name, const if (j > 0) { if (j == 1) { - ecore_wl_window_rotation_preferred_rotation_set(window,wind->rotation); + ecore_wl_window_rotation_preferred_rotation_set(window, wind->rotation); }else { ecore_wl_window_rotation_available_rotations_set(window, (const int*)checked, j); } } + _tizen_rotate_update(wind); } void