From 6d030b1c32d6a4ced00201141f0bd94a4859f264 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Tue, 30 Jun 2015 18:37:21 -0400 Subject: [PATCH] don't create first draw timers for input-only x11 clients --- src/bin/e_comp_x.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c index d17d634a3..fad1b53b6 100644 --- a/src/bin/e_comp_x.c +++ b/src/bin/e_comp_x.c @@ -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