diff --git a/Source/OpenTK/Configuration.cs b/Source/OpenTK/Configuration.cs index 0f3e99af..10670dff 100644 --- a/Source/OpenTK/Configuration.cs +++ b/Source/OpenTK/Configuration.cs @@ -306,7 +306,7 @@ namespace OpenTK RunningOnSdl2 = DetectSdl2(); } - if (runningOnLinux || options.Backend == PlatformBackend.PreferX11) + if ((runningOnLinux && !RunningOnSdl2) || options.Backend == PlatformBackend.PreferX11) { runningOnX11 = DetectX11(); }