{
ver = wl_resource_get_version(resource); // resource is type of tizen_rotation_interface
- if ((ver >= 2) &&
- ((ec->floating) || (e_policy_client_is_keyboard_magnifier(ec))))
+ if ((ver >= 2) && (ec->floating))
{
if (rot_diff == 180)
{
// the window which type is "E_WINDOW_TYPE_NORMAL" will be rotated itself.
// it shouldn't be rotated by rotation state of parent window.
if (child->netwm.type == E_WINDOW_TYPE_NORMAL) continue;
+ if (child->comp_data && !child->comp_data->mapped) continue;
ELOGF("ROTATION", "Do rotation of child win %s(%p)",
NULL, NULL, child->icccm.name, child);