discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=6d030b1c32d6a4ced00201141f0bd94a4859f264

commit 6d030b1c32d6a4ced00201141f0bd94a4859f264
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Tue Jun 30 18:37:21 2015 -0400

    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 d17d634..fad1b53 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

-- 


Reply via email to