modified:   src/misc/x_adapter_factory.cpp