{
Evas_Engine_Info_Wayland *einfo = info;
Render_Engine *re = data;
+ Outbuf *ob;
- _evas_outbuf_surface_set(re->generic.ob,
+ ob = re->generic.ob;
+ if (ob->ewd != einfo->info.wl2_display)
+ {
+ re->generic.ob->ewd = einfo->info.wl2_display;
+ }
+ _evas_outbuf_surface_set(ob,
einfo->info.wl_shm,
einfo->info.wl_dmabuf);
ob->depth = info->info.depth;
ob->priv.destination_alpha = info->info.destination_alpha;
ob->hidden = info->info.hidden;
+ ob->ewd = info->info.wl2_display;
/* default to triple buffer */
ob->num_buff = 3;