From 8eee9bdb6dafe46f8ef5e493a29f6701c52f5c64 Mon Sep 17 00:00:00 2001 From: Ji-hoon Lee Date: Mon, 20 May 2013 17:24:04 +0900 Subject: [PATCH] Added available rotation hint for magnifier window --- scl/gwes/efl/sclwindows-efl.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scl/gwes/efl/sclwindows-efl.cpp b/scl/gwes/efl/sclwindows-efl.cpp index 9b0e6b8..0e5b851 100644 --- a/scl/gwes/efl/sclwindows-efl.cpp +++ b/scl/gwes/efl/sclwindows-efl.cpp @@ -225,6 +225,9 @@ CSCLWindowsImplEfl::create_magnifier_window(const sclwindow parent, SclWindowCon ecore_x_e_window_rotation_geometry_set(elm_win_xwindow_get(win), rotation_values_EFL[ROTATION_90_CCW], 0, 0, height, width); + int rots[4] = {0,90,180,270}; + elm_win_wm_rotation_available_rotations_set(win, rots, 4); + #ifndef APPLY_WINDOW_MANAGER_CHANGE ecore_x_icccm_name_class_set(elm_win_xwindow_get(static_cast(win)), "Key Magnifier", "ISF"); -- 2.7.4