forked from enlightenment/enlightenment
Fix video explosion on rpi3 during screen blank
Seems like spamming dpms on when it's already on and we're rendering is antisocial, so cut that out. Fix T5977
This commit is contained in:
parent
cc5eec5cc3
commit
c21c282483
|
@ -643,7 +643,8 @@ _drm2_dpms(int set)
|
|||
if (!strcmp(name, s->info.name))
|
||||
{
|
||||
if ((!s->config.configured) || s->config.enabled)
|
||||
ecore_drm2_output_dpms_set(output, set);
|
||||
if (ecore_drm2_output_dpms_get(output) != set)
|
||||
ecore_drm2_output_dpms_set(output, set);
|
||||
}
|
||||
|
||||
free(name);
|
||||
|
|
Loading…
Reference in New Issue