e_client_idler_before(Eina_Bool *check_focus)
{
E_Zone *zone;
- const Eina_List *l;
E_Client *ec;
- Eina_List *ec_list;
*check_focus = EINA_FALSE;
TRACE_DS_BEGIN(CLIENT:IDLE BEFORE);
- ec_list = e_comp_ec_list_get();
- EINA_LIST_FOREACH(ec_list, l, ec)
- {
- // pass 1 - eval0. fetch properties on new or on change and
- // call hooks to decide what to do - maybe move/resize
- if (ec->ignored || (!ec->changed)) continue;
+ E_COMP_ZONE_FOREACH(zone)
+ E_ZONE_CLIENT_FOREACH(zone, ec)
+ {
+ // pass 1 - eval0. fetch properties on new or on change and
+ // call hooks to decide what to do - maybe move/resize
+ if (ec->ignored || (!ec->changed)) continue;
- e_policy_stack_transient_for_fetch(ec);
- if (!_e_client_hook_call(E_CLIENT_HOOK_EVAL_PRE_FETCH, ec)) continue;
+ e_policy_stack_transient_for_fetch(ec);
+ if (!_e_client_hook_call(E_CLIENT_HOOK_EVAL_PRE_FETCH, ec)) continue;
- /* FETCH is hooked by the compositor to get client hints */
- if (!_e_client_hook_call(E_CLIENT_HOOK_EVAL_FETCH, ec)) continue;
+ /* FETCH is hooked by the compositor to get client hints */
+ if (!_e_client_hook_call(E_CLIENT_HOOK_EVAL_FETCH, ec)) continue;
- if (ec->new_client)
- {
- e_client_type_update(ec);
- }
+ if (ec->new_client)
+ {
+ e_client_type_update(ec);
+ }
- /* PRE_POST_FETCH calls e_remember apply for new client */
- e_policy_wl_notification_level_fetch(ec);
- if (!_e_client_hook_call(E_CLIENT_HOOK_EVAL_PRE_POST_FETCH, ec)) continue;
+ /* PRE_POST_FETCH calls e_remember apply for new client */
+ e_policy_wl_notification_level_fetch(ec);
+ if (!_e_client_hook_call(E_CLIENT_HOOK_EVAL_PRE_POST_FETCH, ec)) continue;
- e_policy_client_evaluation(ec);
- if (!_e_client_hook_call(E_CLIENT_HOOK_EVAL_POST_FETCH, ec)) continue;
+ e_policy_client_evaluation(ec);
+ if (!_e_client_hook_call(E_CLIENT_HOOK_EVAL_POST_FETCH, ec)) continue;
- if (!_e_client_hook_call(E_CLIENT_HOOK_EVAL_PRE_FRAME_ASSIGN, ec)) continue;
+ if (!_e_client_hook_call(E_CLIENT_HOOK_EVAL_PRE_FRAME_ASSIGN, ec)) continue;
+
+ _e_client_hook_call(E_CLIENT_HOOK_EVAL_POST_FRAME_ASSIGN, ec);
+ }
- _e_client_hook_call(E_CLIENT_HOOK_EVAL_POST_FRAME_ASSIGN, ec);
- }
// pass 2 - show and hide windows needing hide and eval (main eval)
E_COMP_ZONE_FOREACH(zone)
E_ZONE_CLIENT_FOREACH(zone, ec)