Skip to content
  • Olivier Fourdan's avatar
    xwayland: allow "-eglstream" option · 65d46b2d
    Olivier Fourdan authored and Adam Jackson's avatar Adam Jackson committed
    
    
    The command line option "-eglstream" used to enable EGLStream support
    for NVidia GPU was made available only when Xwayland was built with
    EGLStream support enabled.
    
    Wayland compositors who spawn Xwayland have no easy way to tell whether
    or not Xwayland was built with EGLStream support enabled, and adding
    "-eglstream" command line option to Xwayland when it wasn't built with
    EGLStream support would prevent Xwayland from starting (“Unrecognized
    option” error).
    
    Make sure we support the command line option "-eglstream" regardless of
    EGLStream support in Xwayland. Obviously, if Xwayland was built without
    EGLStream support, this has no effect.
    
    Signed-off-by: default avatarOlivier Fourdan <ofourdan@redhat.com>
    Reviewed-by: Lyude Paul's avatarLyude Paul <lyude@redhat.com>
    Reviewed-by: default avatarEmil Velikov <emil.velikov@collabora.com>
    (cherry picked from commit 06c31e78)
    65d46b2d