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
This commit is contained in:
Carsten Haitzler 2022-09-16 13:58:21 +01:00
parent d9097d48fe
commit f93b08c76f
1 changed files with 1 additions and 0 deletions

View File

@ -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 */ if (!ee) return ECORE_CALLBACK_PASS_ON; /* pass on event */
edata = ee->engine.data; edata = ee->engine.data;
if (e->win != ee->prop.window) return ECORE_CALLBACK_PASS_ON; 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; 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); // 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) if (ee->prop.avoid_damage)