don't create first draw timers for input-only x11 clients

This commit is contained in:
Mike Blumenkrantz 2015-06-30 18:37:21 -04:00
parent 668bb06dc0
commit 6d030b1c32
1 changed files with 2 additions and 1 deletions

View File

@ -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