Fix window rotation code
authorSeungkeun Lee <sngn.lee@samsung.com>
Wed, 26 Aug 2015 04:47:04 +0000 (13:47 +0900)
committerSeungkeun Lee <sngn.lee@samsung.com>
Mon, 31 Aug 2015 05:21:53 +0000 (22:21 -0700)
 - elm_win_wm_rotation_preferred_rotation_set will cause window rotation so, I remove elm_win_rotation_set code

Change-Id: Ie096f6e40cfc762249d0a4da984dbc9269427576

src/runtime/native_window.cc

index 56313e8..86c13be 100755 (executable)
@@ -208,7 +208,6 @@ void NativeWindow::SetRotationLock(int degree) {
   if (degree != -1)
     rotation_ = degree % 360;
   elm_win_wm_rotation_preferred_rotation_set(window_, rotation_);
-  elm_win_rotation_set(window_, rotation_);
 }
 
 void NativeWindow::SetRotationLock(ScreenOrientation orientation) {