don't create first draw timers for input-only x11 clients
authorMike Blumenkrantz <zmike@osg.samsung.com>
Tue, 30 Jun 2015 22:37:21 +0000 (18:37 -0400)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Tue, 30 Jun 2015 22:37:21 +0000 (18:37 -0400)
src/bin/e_comp_x.c

index d17d634..fad1b53 100644 (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