forked from enlightenment/efl
ecore-drm: Skip repaints if we are VT switched away
Summary: This allows us to skip output rendering if we are VT switched away. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
0e35734ef9
commit
e3440c4683
|
@ -84,7 +84,7 @@ _ecore_drm_device_cb_idle(void *data)
|
|||
|
||||
if (!(dev = data)) return ECORE_CALLBACK_CANCEL;
|
||||
|
||||
/* TODO: skip repaints if we are VT-switched away */
|
||||
if (!dev->active) return ECORE_CALLBACK_RENEW;
|
||||
|
||||
EINA_LIST_FOREACH(dev->outputs, l, output)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue