Reference

XtRemoveInput(3) on Linux

The text 54a779fdfcfc, as Debian 8 (Jessie) shipped it.

register and remove an input source

XtRemoveInput(3) on Linux now