Skip to content
Snippets Groups Projects
  • Erico Nunes's avatar
    9b6611f4
    ui/sdl2: remove workaround forcing x11 · 9b6611f4
    Erico Nunes authored
    
    This workaround was put in place in the original implementation almost
    10 years ago, considering a very old SDL2 version. Currently it prevents
    users to run in a wayland-only environment without manually forcing the
    backend.
    The SDL2 wayland backend has been supported by distributions for a very
    long time (e.g. in Fedora, first available 8 years ago), and is now
    considered stable and becoming the default for new SDL2 releases.
    Instead of requiring the x11 backend to exist by default, let new qemu
    releases run with the default chosen by the installed SDL2 version.
    
    Signed-off-by: default avatarErico Nunes <ernunes@redhat.com>
    Reviewed-by: default avatarDaniel P. Berrangé <berrange@redhat.com>
    Reviewed-by: default avatarMarc-André Lureau <marcandre.lureau@redhat.com>
    Message-Id: <20230301141205.514338-1-ernunes@redhat.com>
    9b6611f4
    History
    ui/sdl2: remove workaround forcing x11
    Erico Nunes authored
    
    This workaround was put in place in the original implementation almost
    10 years ago, considering a very old SDL2 version. Currently it prevents
    users to run in a wayland-only environment without manually forcing the
    backend.
    The SDL2 wayland backend has been supported by distributions for a very
    long time (e.g. in Fedora, first available 8 years ago), and is now
    considered stable and becoming the default for new SDL2 releases.
    Instead of requiring the x11 backend to exist by default, let new qemu
    releases run with the default chosen by the installed SDL2 version.
    
    Signed-off-by: default avatarErico Nunes <ernunes@redhat.com>
    Reviewed-by: default avatarDaniel P. Berrangé <berrange@redhat.com>
    Reviewed-by: default avatarMarc-André Lureau <marcandre.lureau@redhat.com>
    Message-Id: <20230301141205.514338-1-ernunes@redhat.com>