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:
Chris Michael 2015-04-07 14:24:46 -04:00 committed by Stefan Schmidt
parent 0e35734ef9
commit e3440c4683
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{