reduce comp override pop timer, successive pops trigger instapop
authorMike Blumenkrantz <zmike@samsung.com>
Wed, 26 Feb 2014 16:41:49 +0000 (11:41 -0500)
committerMike Blumenkrantz <zmike@samsung.com>
Wed, 26 Feb 2014 16:46:31 +0000 (11:46 -0500)
src/bin/e_comp.c

index 12372f5..e85ca7e 100644 (file)
@@ -1688,9 +1688,9 @@ e_comp_override_timed_pop(E_Comp *c)
    EINA_SAFETY_ON_NULL_RETURN(c);
    if (c->nocomp_override <= 0) return;
    if (c->nocomp_override_timer)
-     ecore_timer_reset(c->nocomp_override_timer);
+     c->nocomp_override--;
    else
-     c->nocomp_override_timer = ecore_timer_add(5.0, _e_comp_override_expire, c);
+     c->nocomp_override_timer = ecore_timer_add(1.0, _e_comp_override_expire, c);
 }
 
 EAPI unsigned int