don't create first draw timers for input-only x11 clients
This commit is contained in:
parent
668bb06dc0
commit
6d030b1c32
|
@ -4209,7 +4209,8 @@ _e_comp_x_hook_client_new(void *d EINA_UNUSED, E_Client *ec)
|
|||
ec->comp_data->first_damage = ec->internal;
|
||||
|
||||
eina_hash_add(clients_win_hash, &win, ec);
|
||||
ec->comp_data->first_draw_delay = ecore_timer_add(e_comp_config_get()->first_draw_delay, _e_comp_x_first_draw_delay_cb, ec);
|
||||
if (!ec->input_only)
|
||||
ec->comp_data->first_draw_delay = ecore_timer_add(e_comp_config_get()->first_draw_delay, _e_comp_x_first_draw_delay_cb, ec);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue