This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository efl.

View the commit online.

commit f67e9b4ffff856fada7a8f5019d33f80875e2eac
Author: Carsten Haitzler <ras...@rasterman.com>
AuthorDate: Fri Sep 9 09:41:05 2022 +0100

    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)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to