Revert fix for T48901: Use of XIWarpPointer
[blender.git] / intern / ghost / intern / GHOST_SystemX11.cpp
index 1791908f67079d1598e15fe18bd5bed7549d9a22..194b0fc5df7c91a7b3d6a332205f9e3d759fd673 100644 (file)
@@ -1573,7 +1573,7 @@ setCursorPosition(
        }
 #endif
 
-#ifdef WITH_X11_XINPUT
+#if defined(WITH_X11_XINPUT) && defined(USE_X11_XINPUT_WARP)
        if ((m_xinput_version.present) &&
            (m_xinput_version.major_version >= 2))
        {