I don't think it'll work either, the various combination of backends makes it hard and I think in some cases we don't receive notifications about changing devices and the process may just refresh the win32u device from the registry cache without notifying winex11.
I'll close this and go back to the solution passing primary adapter name / bool to the driver callbacks.