apply show_ready timeout to each new show, not just the first one.

This commit is contained in:
Carsten Haitzler 2013-09-04 15:13:26 +09:00
parent 928067fa97
commit af576fcd8f
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}