Modified to display at the same angle as the parent window 11/255111/2
authorInHong Han <inhong1.han@samsung.com>
Fri, 12 Mar 2021 05:34:43 +0000 (14:34 +0900)
committerInHong Han <inhong1.han@samsung.com>
Fri, 12 Mar 2021 06:28:45 +0000 (15:28 +0900)
Change-Id: Ib4bdff2ea28b3fa862374b188f1102219826af50
(cherry picked from commit 1903ddcf401bcde3a749ef22a5d9a23da8753f90)

src/sclcoreui-efl.cpp

index 3bb22a3..0140baa 100644 (file)
@@ -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;