[Desktop/General] add x11 fallback to SDL + set audiodriver hint

Tell SDL to use PipeWire first if it can
This commit is contained in:
Antoine Viallon 2024-05-25 13:44:09 +02:00
parent 81aa383877
commit 9fdb2e2f4b
Signed by: aviallon
GPG key ID: 186FC35EDEB25716

View file

@ -159,7 +159,9 @@ in {
];
environment.variables = {
SDL_VIDEODRIVER = "wayland";
SDL_VIDEODRIVER = "wayland,x11";
SDL_AUDIODRIVER = "pipewire,pulseaudio";
QT_QPA_PLATFORM = "wayland;xcb";
MOZ_DBUS_REMOTE = "1"; # For shared clipboard with Xwayland apps
_JAVA_AWT_WM_NONREPARENTING = "1";