Summary: This marks an Ecore_Drm_Device as active or not when we VT
switch. We do this so we can skip rendering if we are not active.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
ev = event;
dev = data;
+ dev->active = ev->active;
+
if (ev->active)
{
/* set output mode */
/* disable hardware cursor */
EINA_LIST_FOREACH(dev->outputs, l, output)
- ecore_drm_output_cursor_size_set(output, 0, 0, 0);
+ ecore_drm_output_disable(output);
/* disable sprites */
EINA_LIST_FOREACH(dev->sprites, l, sprite)