forked from enlightenment/efl
ecore_drm2: Make sure something's on screen after dpms wake
Flip to the previous buffer on dpms wake to make sure we show something
This commit is contained in:
parent
24608d9950
commit
168a127c8c
|
@ -1028,6 +1028,9 @@ ecore_drm2_output_dpms_set(Ecore_Drm2_Output *output, int level)
|
|||
#endif
|
||||
sym_drmModeConnectorSetProperty(output->fd, output->conn_id,
|
||||
output->dpms->prop_id, level);
|
||||
|
||||
if (level == 0) /* DPMS on */
|
||||
ecore_drm2_fb_flip(NULL, output);
|
||||
}
|
||||
|
||||
EAPI char *
|
||||
|
|
Loading…
Reference in New Issue