if (tz_angle)
{
- EINF(ec, "Send Change Rotation: angle %d for redering preparation of landscape only app", tz_angle);
+ EDBG(ec, "Send Change Rotation: angle %d for redering preparation of landscape only app", tz_angle);
serial = wl_display_next_serial(e_comp_wl->wl.disp);
EINA_LIST_FOREACH(rot->rotation_list, l, res)
if (tz_angle)
{
- EINF(ec, "Send Change Rotation: angle %d for redering preparation of landscape only app", tz_angle);
+ EDBG(ec, "Send Change Rotation: angle %d for redering preparation of landscape only app", tz_angle);
serial = wl_display_next_serial(e_comp_wl->wl.disp);
EINA_LIST_FOREACH(rot->rotation_list, l, res)
ec->e.state.rot.ang.prev = ec->e.state.rot.ang.curr;
ec->e.state.rot.ang.curr = TIZEN_ROTATION_ANGLE_TO_INT(rot->cur_angle);
- EINF(ec, "Rotation Done: prev %d cur %d",
+ EDBG(ec, "Rotation Done: prev %d cur %d",
ec->e.state.rot.ang.prev, ec->e.state.rot.ang.curr);
if (TIZEN_ROTATION_ANGLE_TO_INT(rot->cur_angle) == ec->e.state.rot.ang.next)
}
else // rotation fail
{
- DBG("Rotation Zone Set: Rotation Done(fail case)");
+ WRN("Rotation Zone Set: Rotation Done(fail case): %s(%p)",
+ ec->icccm.name?:"", ec);
_e_client_rotation_zone_set(ec->zone, ec);
}
rot->cur_angle = tz_angle;
rot->serial = serial;
- EINF(ec, "Send Change Rotation: angle %d", angle);
+ EDBG(ec, "Send Change Rotation: angle %d", angle);
EINA_LIST_FOREACH(rot->rotation_list, l, resource)
{
tizen_rotation_send_angle_change(resource, tz_angle, serial);
if (include_ec && !include_ec->comp_data->sub.data)
target_list = eina_list_append(target_list, include_ec);
- INF("<<< Try to set zone rotation");
+ DBG("<<< Try to set zone rotation");
E_CLIENT_REVERSE_FOREACH(ec)
{
if (ec->zone != zone) continue;
continue;
}
- EINF(ec, "Append to rotation target list");
+ EDBG(ec, "Append to rotation target list");
target_list = eina_list_append(target_list, ec);
if ((!ec->argb) &&
(ec->w == zone->w) && (ec->h == zone->h) &&
(ec->e.state.rot.type == E_CLIENT_ROTATION_TYPE_NORMAL))
{
- EINF(ec, "Found Topmost Fullscreen Window");
+ EDBG(ec, "Found Topmost Fullscreen Window");
break;
}
}
{
if (!e_client_rotation_is_available(ec, angle))
{
- EINF(ec, "Failed to set rotation with zone: not able to rotate given angle %d", angle);
+ EDBG(ec, "Failed to set rotation with zone: not able to rotate given angle %d", angle);
angle = _e_client_rotation_curr_next_get(ec);
can_rotate = EINA_FALSE;
break;
{
if (!e_client_rotation_is_available(ec, angle))
{
- EINF(ec, "Failed to set with exist client: not able to rotate given angle %d", angle);
+ EDBG(ec, "Failed to set with exist client: not able to rotate given angle %d", angle);
can_rotate = EINA_FALSE;
break;
}
}
else
{
- INF("Set rotation of zone according to angle of zone: %d", angle);
+ DBG("Set rotation of zone according to angle of zone: %d", angle);
goto do_rotate;
}
{
if (!e_client_rotation_is_available(ec, i))
{
- EINF(ec, "Failed to set zone rotation: not able to rotate given angle %d", i);
+ EDBG(ec, "Failed to set zone rotation: not able to rotate given angle %d", i);
can_rotate = EINA_FALSE;
break;
}
if (can_rotate == EINA_TRUE)
{
angle = i;
- INF("Set rotation of zone according to common angle of clients: %d", angle);
+ DBG("Set rotation of zone according to common angle of clients: %d", angle);
break;
}
}
}
else
{
- INF("Set rotation of zone according to angle of exist clients: %d", angle);
+ DBG("Set rotation of zone according to angle of exist clients: %d", angle);
goto do_rotate;
}
if (!can_rotate)
{
- INF("Failed to find angle to be rotated");
+ DBG("Failed to find angle to be rotated");
goto end;
}
TRACE_DS_END();
- INF("End to set zone rotation: %s >>>", ret ? "Change" : "Stay");
+ DBG("End to set zone rotation: %s >>>", ret ? "Change" : "Stay");
return ret;
}
static Eina_Bool
_e_client_rotation_change_done_timeout(void *data __UNUSED__)
{
- INF("Timeout ROTATION_DONE");
+ WRN("Timeout ROTATION_DONE");
_e_client_rotation_change_done();
return ECORE_CALLBACK_CANCEL;
}
if (_prev_preferred_rot != ec->e.state.rot.preferred_rot)
ec->e.fetch.rot.need_rotation = EINA_TRUE;
- EINF(ec, "Fetch Preferred: preferred (prev %d cur %d)",
+ EDBG(ec, "Fetch Preferred: preferred (prev %d cur %d)",
_prev_preferred_rot, ec->e.state.rot.preferred_rot);
ec->e.fetch.rot.preferred_rot = 0;
if (ec->e.state.rot.pending_show)
return EINA_FALSE;
- DBG("Rotation Zone Set: Intercept Show");
_e_client_rotation_zone_set(ec->zone, ec);
if (ec->changes.rotation)
{
- EINF(ec, "Postpone show: ang %d", ec->e.state.rot.ang.next);
+ EDBG(ec, "Postpone show: ang %d", ec->e.state.rot.ang.next);
/* consider e_pixmap_image_clear() instead of update_add() */
e_comp_client_post_update_add(ec);
ec->e.state.rot.pending_show = 1;