From 08356e0b51f073a3c9722b14ed84fb99d05752e8 Mon Sep 17 00:00:00 2001 From: Sungmin Kwak Date: Thu, 28 May 2015 11:36:41 +0900 Subject: [PATCH] Call elm_win_wm_rotation_available_rotations_set for keyboard window Change-Id: I2cc1c8b5d4954217725d7397455b70b74c68a4f2 --- src/sclcoreui-efl.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sclcoreui-efl.cpp b/src/sclcoreui-efl.cpp index 69a4057..9c23539 100644 --- a/src/sclcoreui-efl.cpp +++ b/src/sclcoreui-efl.cpp @@ -286,6 +286,8 @@ void CSCLCoreUIEFL::run(const sclchar *display) elm_win_autodel_set(main_window, EINA_TRUE); elm_win_title_set(main_window, uuid); 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))); unsigned int set = 1; ecore_x_window_prop_card32_set(elm_win_xwindow_get(main_window), -- 2.7.4