File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
scriptmodules/supplementary Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -249,11 +249,10 @@ if [[ \$(id -u) -eq 0 ]]; then
249249 exit 1
250250fi
251251
252- # use SDL2 wayland video driver if wayland session is detected.
253- # Emulationstation has focus problems under Ubuntu 22.04's GNOME on Wayland session. Don't use SDL2's wayland driver and run
254- # emulationstation with --fullscreen-borderless if desktop session is GNOME on Wayland.
252+ # use SDL2 wayland video driver if wayland session is detected, but...
253+ # Emulationstation has focus problems under Ubuntu 22.04's GNOME on Wayland session, so don't use the SDL2's Wayland driver in that combination
255254if [[ "\$ WAYLAND_DISPLAY" == wayland* ]]; then
256- [[ "\$ XDG_CURRENT_DESKTOP" == *GNOME ]] && set -- " \$ @" "--fullscreen-borderless" || export SDL_VIDEODRIVER=wayland
255+ [[ "\$ XDG_CURRENT_DESKTOP" == *GNOME ]] || export SDL_VIDEODRIVER=wayland
257256fi
258257
259258# save current tty/vt number for use with X so it can be launched on the correct tty
You can’t perform that action at this time.
0 commit comments