From f67e9b4ffff856fada7a8f5019d33f80875e2eac Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Fri, 9 Sep 2022 09:41:05 +0100 Subject: [PATCH] unblock draw block - 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 --- src/modules/ecore_evas/engines/x/ecore_evas_x.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/ecore_evas/engines/x/ecore_evas_x.c b/src/modules/ecore_evas/engines/x/ecore_evas_x.c index 0182b45a40..659870c90d 100644 --- a/src/modules/ecore_evas/engines/x/ecore_evas_x.c +++ b/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)