Added available rotation hint for magnifier window
authorJi-hoon Lee <dalton.lee@samsung.com>
Mon, 20 May 2013 08:24:04 +0000 (17:24 +0900)
committerJi-hoon Lee <dalton.lee@samsung.com>
Mon, 20 May 2013 08:24:04 +0000 (17:24 +0900)
scl/gwes/efl/sclwindows-efl.cpp

index 9b0e6b8..0e5b851 100644 (file)
@@ -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<Evas_Object*>(win)), "Key Magnifier", "ISF");