forked from enlightenment/efl
ecore_evas_drm: Refuse to start a ticker for a manually rendered canvas
With atomic mode setting this has the hilarious side effect of waking up the display from dpms. Attempting to tick when manual render is set is likely a bug, so log an ERR. fix T5462
This commit is contained in:
parent
cae1927554
commit
a795629e8c
|
@ -652,6 +652,12 @@ _drm_animator_register(Ecore_Evas *ee)
|
|||
{
|
||||
Ecore_Evas_Engine_Drm_Data *edata;
|
||||
|
||||
if (ee->manual_render)
|
||||
{
|
||||
ERR("Attempt to schedule tick for manually rendered canvas");
|
||||
return;
|
||||
}
|
||||
|
||||
edata = ee->engine.data;
|
||||
edata->ticking = EINA_TRUE;
|
||||
if (!edata->pending && !ee->in_async_render)
|
||||
|
|
Loading…
Reference in New Issue