return;
}
+ // Skip available_set if there is not change
+
+ int* prevRotations = null;
+ unsigned int prevCount = 0;
+ Eina_Bool ret = ecore_evas_wm_rotation_available_rotations_get(pLayer->GetEcoreEvas(), &prevRotations, &prevCount);
+
+ if (ret)
+ {
+ if (prevCount == count)
+ {
+ return;
+ }
+ }
+
Ecore_X_Window win = (Ecore_X_Window) ecore_evas_window_get(pLayer->GetEcoreEvas());
SysLog(NID_UI, "[Window Manager Rotation][Window : 0x%x] Set window available rotation(%d).", win, count);
ecore_evas_wm_rotation_available_rotations_set(pLayer->GetEcoreEvas(), rotations, count);