//////////////////////////////////////////////////////////////////////////
-#if 0
+#if 1
#define DBG(f, x...) printf(f, ##x)
#else
#define DBG(f, x...)
e_mod_comp_update_clear(cw->up);
for (i = 0; r[i].w > 0; i++)
{
- unsigned int *pix;
int x, y, w, h;
x = r[i].x; y = r[i].y;
w = r[i].w; h = r[i].h;
if (!ecore_x_image_get(cw->xim, cw->pixmap, x, y, x, y, w, h))
{
- printf("EEEEK! get failed\n");
+ e_mod_comp_update_add(cw->up, x, y, w, h);
+ cw->update = 1;
}
+ else
+ {
+ unsigned int *pix;
// why do we neeed these 2? this smells wrong
- pix = ecore_x_image_data_get(cw->xim, NULL, NULL, NULL);
- DBG("UPDATE [0x%x] %i %i %ix%i -- pix = %p\n", cw->win, x, y, w, h, pix);
- evas_object_image_data_set(cw->obj, pix);
+ pix = ecore_x_image_data_get(cw->xim, NULL, NULL, NULL);
+ DBG("UPDATE [0x%x] %i %i %ix%i -- pix = %p\n", cw->win, x, y, w, h, pix);
+ evas_object_image_data_set(cw->obj, pix);
- evas_object_image_data_update_add(cw->obj, x, y, w, h);
- if (cw->shaped) cw->shape_changed = 1;
+ evas_object_image_data_update_add(cw->obj, x, y, w, h);
+ if (cw->shaped) cw->shape_changed = 1;
+ }
}
if ((cw->shape_changed) && (!cw->argb))
{
mod->conf->texture_from_pixmap = 0;
mod->conf->lock_fps = 1;
mod->conf->efl_sync = 1;
- mod->conf->loose_sync = 0;
+ mod->conf->loose_sync = 1;
mod->conf->grab = 0;
mod->conf->keep_unmapped = 1;
mod->conf->send_flush = 1;
mod->conf->max_unmapped_pixels = 32 * 1024;
mod->conf->max_unmapped_time = 10 * 3600;
mod->conf->min_unmapped_time = 5 * 60;
- mod->conf->effect_fade = 1;
+ mod->conf->effect_fade = 0;
mod->conf->effect_zoom = 0;
mod->conf->effect_wobble = 0;
mod->conf->effect_rotate = 0;
}
+ mod->conf->effect_fade = 0; // OOOFFF!!!
+
_comp_mod = mod;
if (e_init_count_get() <= 0)