From 39ffdcc0966c1f948656d964cf82bd943edb8cf0 Mon Sep 17 00:00:00 2001 From: Ari Vuollet Date: Thu, 6 Aug 2026 01:46:57 +0300 Subject: [PATCH] Fix SDL display server name when running on Linux --- Source/Engine/Platform/Linux/LinuxPlatform.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/Engine/Platform/Linux/LinuxPlatform.cpp b/Source/Engine/Platform/Linux/LinuxPlatform.cpp index 55354347a..680de1dfb 100644 --- a/Source/Engine/Platform/Linux/LinuxPlatform.cpp +++ b/Source/Engine/Platform/Linux/LinuxPlatform.cpp @@ -1803,7 +1803,11 @@ const String& LinuxPlatform::GetHomeDirectory() String LinuxPlatform::GetDisplayServer() { +#if PLATFORM_SDL + return SDLPlatform::GetDisplayServer(); +#else return xDisplay ? TEXT("X11") : TEXT(""); +#endif } bool LinuxPlatform::Is64BitPlatform()