From ca43536531c60423b4489cc7e7b5690f206a0962 Mon Sep 17 00:00:00 2001 From: TheOnlyMrCat Date: Tue, 27 Dec 2022 16:12:07 +1000 Subject: [PATCH] Add note to SDL: Environment variable no longer necessary --- Running-programs-natively-under-Wayland.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Running-programs-natively-under-Wayland.md b/Running-programs-natively-under-Wayland.md index efb7f49..06536ad 100644 --- a/Running-programs-natively-under-Wayland.md +++ b/Running-programs-natively-under-Wayland.md @@ -43,9 +43,14 @@ You could set them to `wayland_shm` instead, if you want to use software renderi ## SDL +As of version 2.0.22, SDL prioritizes the Wayland video driver over X11. + +For older versions: + ```shell SDL_VIDEODRIVER=wayland ``` + NOTE: Steam, most games and other (older) binary applications might not work with `wayland` SDL video driver, due to old bundled SDL library. Unset or tweak for specific applications as needed. ## Flatpak