in text-from-pixmap dont keep queueing updates when no updates exist

(same as software mode).



SVN revision: 61970
This commit is contained in:
Carsten Haitzler 2011-08-02 01:02:14 +00:00
parent 9061b12eac
commit 1ee33462ad
1 changed files with 6 additions and 5 deletions

View File

@ -3,7 +3,7 @@
#include "e_mod_comp.h"
#include "e_mod_comp_update.h"
#define OVER_FLOW 4
#define OVER_FLOW 2
//////////////////////////////////////////////////////////////////////////
//
@ -592,7 +592,8 @@ _e_mod_comp_win_update(E_Comp_Win *cw)
}
else
{
cw->update = 1;
DBG("UPDATE [0x%x] NO RECTS!!! %i %i - %i %i\n", cw->win, cw->up->w, cw->up->h, cw->up->tw, cw->up->th);
// cw->update = 1;
}
}
else
@ -2744,9 +2745,9 @@ _e_mod_comp_damage_win(void *data __UNUSED__,
if (ev->win == c->ee_win)
{
// expose on comp win - init win or some other bypass win did it
DBG("JOB4...\n");
_e_mod_comp_render_queue(c);
break;
DBG("JOB4...\n");
_e_mod_comp_render_queue(c);
break;
}
}
return ECORE_CALLBACK_PASS_ON;