From 07c7e480c69b417c705b5489158de9cf85569327 Mon Sep 17 00:00:00 2001 From: Timo Wilken Date: Thu, 15 Aug 2024 16:30:41 +0200 Subject: Enable wayland backend for SDL2 games --- tw/services/desktop.scm | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3