We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents abd614a + 88dafca commit 90f64e6Copy full SHA for 90f64e6
scriptmodules/supplementary/emulationstation.sh
@@ -257,7 +257,7 @@ if [[ "\$(uname --machine)" != *86* ]]; then
257
fi
258
259
# use SDL2 wayland video driver if wayland session is detected
260
-[[ "$XDG_SESSION_TYPE" == "wayland" ]] && export SDL_VIDEODRIVER=wayland
+[[ "\$WAYLAND_DISPLAY" == wayland* ]] && export SDL_VIDEODRIVER=wayland
261
262
# save current tty/vt number for use with X so it can be launched on the correct tty
263
TTY=\$(tty)
0 commit comments