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 5b9bfb5 + 4e38965 commit b996468Copy full SHA for b996468
scriptmodules/supplementary/emulationstation.sh
@@ -245,6 +245,9 @@ if [[ "\$(uname --machine)" != *86* ]]; then
245
fi
246
247
248
+# use SDL2 wayland video driver if wayland session is detected
249
+[[ "$XDG_SESSION_TYPE" == "wayland" ]] && export SDL_VIDEODRIVER=wayland
250
+
251
# save current tty/vt number for use with X so it can be launched on the correct tty
252
TTY=\$(tty)
253
export TTY="\${TTY:8:1}"
0 commit comments