From ffa0a35ac11b67dea1b66e35b1a6e0e3ed971289 Mon Sep 17 00:00:00 2001 From: Hill Ma Date: Thu, 4 Nov 2021 10:47:18 -0700 Subject: [PATCH] wayland: add SDL environment variable. --- src/config/graphical-session/wayland.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/config/graphical-session/wayland.md b/src/config/graphical-session/wayland.md index df1095216..6b231ccd9 100644 --- a/src/config/graphical-session/wayland.md +++ b/src/config/graphical-session/wayland.md @@ -52,6 +52,8 @@ applications also require installing the `kwayland` package. [EFL](https://wayland.freedesktop.org/efl.html)-based applications require setting the environment variable `ELM_DISPLAY=wl`, and can have issues without it, due to not supporting XWayland properly. +[SDL](https://libsdl.org)-based applications require setting the environment +variable `SDL_VIDEODRIVER=wayland`. [GTK+](https://wiki.gnome.org/Initiatives/Wayland/GTK%2B)-based applications should use the Wayland backend automatically. Information about other toolkits can be found in the [Wayland