* Edje: Fix useless ecore_imf_context_reset call in case of pressing ESC and Return key
* Edje: When selected word exists, selection is cleared and cursor remains on the current entry by additional key input.
* Ecore-X: Fix selection parser to not overrun buffer read by using longs on 64bit.
+ * Evas: Fix recursive proxy image rendering to just render black
Eina_Bool video_surface : 1;
Eina_Bool video_visible : 1;
Eina_Bool created : 1;
+ Eina_Bool proxyerror : 1;
};
/* private methods for image objects */
o->changed = EINA_TRUE;
evas_object_change(eo_obj, obj);
}
+ o->proxyerror = 0;
}
EAPI void
state_write->source = eo_src;
EINA_COW_IMAGE_STATE_WRITE_END(o, state_write);
o->load_error = EVAS_LOAD_ERROR_NONE;
+ o->proxyerror = 0;
EINA_COW_WRITE_BEGIN(evas_object_proxy_cow, src->proxy, Evas_Object_Proxy_Data, proxy_src_write)
{
int x, int y, Eina_Bool do_async)
{
Evas_Func *func;
- int r = rand() % 255;
- int g = rand() % 255;
- int b = rand() % 255;
+ Evas_Object_Image *o = eo_data_get(eo_proxy, MY_CLASS);
- /* XXX: Eina log error or something I'm sure
- * If it bugs you, just fix it. Don't tell me */
- if (VERBOSE_PROXY_ERROR) printf("Err: Argh! Recursive proxies.\n");
+ if (!o->proxyerror) printf("Err: Argh! Recursive proxies.\n");
+ o->proxyerror = 1;
Evas_Object_Protected_Data *proxy = eo_data_get(eo_proxy, EVAS_OBJ_CLASS);
func = proxy->layer->evas->engine.func;
- func->context_color_set(output, context, r, g, b, 255);
+ func->context_color_set(output, context, 0, 0, 0, 255);
func->context_multiplier_unset(output, context);
func->context_render_op_set(output, context, proxy->cur->render_op);
func->rectangle_draw(output, context, surface, proxy->cur->geometry.x + x,