From 6e79ffea342882d15e5d08e4c7731885dcb3697a Mon Sep 17 00:00:00 2001 From: Ari Vuollet Date: Mon, 23 Jun 2025 17:06:53 +0300 Subject: [PATCH] Fix clipboard not working on X11 --- Source/Engine/Platform/SDL/SDLPlatform.Linux.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Source/Engine/Platform/SDL/SDLPlatform.Linux.cpp b/Source/Engine/Platform/SDL/SDLPlatform.Linux.cpp index 168653ff0..1408d4220 100644 --- a/Source/Engine/Platform/SDL/SDLPlatform.Linux.cpp +++ b/Source/Engine/Platform/SDL/SDLPlatform.Linux.cpp @@ -1389,7 +1389,6 @@ bool SDLPlatform::InitX11(void* display) SDL_SetX11EventHook((SDL_X11EventHook)&X11EventHook, nullptr); X11::XSetErrorHandler(X11ErrorHandler); - xDisplay = X11::XOpenDisplay(nullptr); xAtomDeleteWindow = X11::XInternAtom(xDisplay, "WM_DELETE_WINDOW", 0); xAtomXdndEnter = X11::XInternAtom(xDisplay, "XdndEnter", 0); xAtomXdndPosition = X11::XInternAtom(xDisplay, "XdndPosition", 0);