this mapping is actually specific to XtGetQuery and shouldn't be global.