Skip to content
  • Kenny Levinsen's avatar
    libweston/launcher: Allow VT switch without get_vt · 97d421a7
    Kenny Levinsen authored and Pekka Paalanen's avatar Pekka Paalanen committed
    
    
    get_vt is used to check if VTs are enabled, by verifying that a VT greater than
    0 is returned.
    
    libseat always implements switching, with switch to an active session
    currently being a noop in all backends. libseat does not currently have
    a get_vt implementation. Make get_vt errors more explicit, and allow VT
    switching anyway if the error is ENOSYS.
    
    Signed-off-by: default avatarKenny Levinsen <kl@kl.wtf>
    97d421a7