raster pushed a commit to branch master.
commit af576fcd8f46c37dfb5fbe0d43240794daf4d460
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date: Wed Sep 4 15:13:26 2013 +0900
apply show_ready timeout to each new show, not just the first one.
---
src/bin/e_comp.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c
index aa29677..faf7e9a 100644
--- a/src/bin/e_comp.c
+++ b/src/bin/e_comp.c
@@ -597,6 +597,7 @@ _e_comp_win_update(E_Comp_Win *cw)
cw->pixmap = pm;
cw->needpix = 0;
if (cw->xim) cw->needxim = 1;
+ cw->show_ready = 0;
_e_comp_win_ready_timeout_setup(cw);
if ((cw->pw != pw) || (cw->ph != ph)) cw->geom_update = 1;
DBG("REND [0x%x] pixmap = [0x%x], %ix%i", cw->win, cw->pixmap,
cw->pw, cw->ph);
@@ -2539,6 +2540,7 @@ _e_comp_win_show(E_Comp_Win *cw)
if (cw->pixmap)
{
ecore_x_pixmap_geometry_get(cw->pixmap, NULL, NULL, &(cw->pw),
&(cw->ph));
+ cw->show_ready = 1;
_e_comp_win_ready_timeout_setup(cw);
if ((cw->pw != pw) || (cw->ph != ph)) cw->geom_update = 1;
}
--
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk