forked from enlightenment/efl
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
This commit is contained in:
parent
43805d788b
commit
f67e9b4fff
|
@ -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…
Reference in New Issue