When emulating the VT layer we need to pass our own data to the internal
callbacks. We currently pass the user data which is really useless here.
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
}
} else {
ret = ev_eloop_register_idle_cb(vtm->eloop, vt_idle_event,
- vt->data);
+ vt);
if (ret)
goto err_free;
}
kmscon_vt_unref(vt->vt);
} else {
ev_eloop_unregister_idle_cb(vt->vtm->eloop, vt_idle_event,
- vt->data);
+ vt);
vt_call(vt, UTERM_VT_DEACTIVATE);
}
kmscon_dlist_unlink(&vt->list);