Reference

XtRemoveInput(3x) on Linux

The text dadeafd3a4bb, as Debian 1.2 (Rex) shipped it.

register and remove an input source

XtRemoveInput(3x) on Linux now