aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Wilken2024-08-15 16:30:41 +0200
committerTimo Wilken2024-08-15 16:30:41 +0200
commit07c7e480c69b417c705b5489158de9cf85569327 (patch)
treea7216c22002971baaa331149d29d251e9306b7cf
parent0a0389006578cc399d6af61b3c3fb281d7b8e0b8 (diff)
Enable wayland backend for SDL2 games
-rw-r--r--tw/services/desktop.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/tw/services/desktop.scm b/tw/services/desktop.scm
index 71b18539..b743c181 100644
--- a/tw/services/desktop.scm
+++ b/tw/services/desktop.scm
@@ -602,6 +602,7 @@ corner_radius 6
("TERMINAL" . "foot") ; needed for rofi-sensible-terminal
("QT_QPA_PLATFORM" . "wayland") ; needed for Qt apps, e.g. obs
("ELECTRON_OZONE_PLATFORM_HINT" . "wayland") ; for Electron apps, e.g. signal-desktop
+ ("SDL_VIDEODRIVER" . "wayland") ; needed by SDL2 games, e.g. szio-solitaire
("XDG_CURRENT_DESKTOP" . "sway") ; not sure why this isn't set by default
("_JAVA_OPTIONS" .
,(string-append