/* TODO: Fix me. To prevent rotation of 180 degrees for normal app */
if ((!_camera_check(ec)) &&
(!e_mod_pol_conf_rot_enable_get(cur_angle)))
- continue;
+ {
+ EDBG(ec, "CHECK dependent '%s'(%p) ang:%d rot.type:%d dependent:%d",
+ ec->icccm.name, ec, cur_angle,
+ ec->e.state.rot.type,
+ E_CLIENT_ROTATION_TYPE_DEPENDENT);
+
+ /* check whether the window is 32bit and has the dependent rotation type.
+ * if true, then it can be rotated according to below normal window
+ * even if current zone angle is not allowed by configuration value.
+ */
+ if (!((ec->argb) && (e_client_rotation_is_available(ec, cur_angle))))
+ continue;
+ }
EDBG(ec, "Append Rotation List '%s'(%p)", ec->icccm.name, ec);
target_list = eina_list_append(target_list, ec);