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
249
249
exit 1
250
250
fi
251
251
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
255
254
if [[ "\$ 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
257
256
fi
258
257
259
258
# 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