From: InHong Han Date: Fri, 12 Mar 2021 05:34:43 +0000 (+0900) Subject: Modified to display at the same angle as the parent window X-Git-Tag: submit/tizen/20210319.100734~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=290c25aa862dd1f18fdd653d90b4011dbdab3e1e;p=platform%2Fcore%2Fuifw%2Flibscl-core.git Modified to display at the same angle as the parent window Change-Id: Ib4bdff2ea28b3fa862374b188f1102219826af50 (cherry picked from commit 1903ddcf401bcde3a749ef22a5d9a23da8753f90) --- diff --git a/src/sclcoreui-efl.cpp b/src/sclcoreui-efl.cpp index 3bb22a3..0140baa 100644 --- a/src/sclcoreui-efl.cpp +++ b/src/sclcoreui-efl.cpp @@ -473,6 +473,7 @@ sclboolean CSCLCoreUIEFL::create_main_window() elm_win_prop_focus_skip_set(main_window, EINA_TRUE); int rots[] = { 0, 90, 180, 270 }; elm_win_wm_rotation_available_rotations_set(main_window, rots, (sizeof(rots) / sizeof(int))); + elm_win_aux_hint_add(main_window, "wm.policy.win.rot.dependent", "1"); #ifndef WAYLAND unsigned int set = 1;