From a14ece2bf6c952b0199ef0687bf623da8c36719b Mon Sep 17 00:00:00 2001 From: dreamsyntax Date: Sun, 29 Dec 2024 15:43:22 -0700 Subject: [PATCH] DolphinQt: Remove workaround for Qt6.3 bug on Linux --- Source/Core/DolphinQt/Main.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/Source/Core/DolphinQt/Main.cpp b/Source/Core/DolphinQt/Main.cpp index 88400aa1a6be..5129e181b1da 100644 --- a/Source/Core/DolphinQt/Main.cpp +++ b/Source/Core/DolphinQt/Main.cpp @@ -140,16 +140,6 @@ int main(int argc, char* argv[]) } #endif -#ifdef __linux__ - // Qt 6.3+ has a bug which causes mouse inputs to not be registered in our XInput2 code. - // If we define QT_XCB_NO_XI2, Qt's xcb platform plugin no longer initializes its XInput - // code, which makes mouse inputs work again. - // For more information: https://bugs.dolphin-emu.org/issues/12913 -#if (QT_VERSION >= QT_VERSION_CHECK(6, 3, 0)) - setenv("QT_XCB_NO_XI2", "1", true); -#endif -#endif - QCoreApplication::setOrganizationName(QStringLiteral("Dolphin Emulator")); QCoreApplication::setOrganizationDomain(QStringLiteral("dolphin-emu.org")); QCoreApplication::setApplicationName(QStringLiteral("dolphin-emu"));