unblock draw block2 - xwayland implementations like in weston break efl

we don't get synthetic configurenotifies for positiomn which we SHOULD
get from a wm when a wm places us on screen... this broke efl
rendering as it would block rendering until we were told by the wm
"you have been placed here" which should always happen.

this works around this b0rkage in xwayland land.

@fix
master
Carsten Haitzler 3 weeks ago
parent d9097d48fe
commit f93b08c76f
  1. 1
      src/modules/ecore_evas/engines/x/ecore_evas_x.c

@ -1476,6 +1476,7 @@ _ecore_evas_x_event_window_damage(void *data EINA_UNUSED, int type EINA_UNUSED,
if (!ee) return ECORE_CALLBACK_PASS_ON; /* pass on event */
edata = ee->engine.data;
if (e->win != ee->prop.window) return ECORE_CALLBACK_PASS_ON;
ee->draw_block = EINA_FALSE;
if (edata->using_bg_pixmap) return ECORE_CALLBACK_PASS_ON;
// printf("EXPOSE %p [%i] %i %i %ix%i\n", ee, ee->prop.avoid_damage, e->x, e->y, e->w, e->h);
if (ee->prop.avoid_damage)

Loading…
Cancel
Save