Reference

XGetSelectionOwner(3x) on Linux

The text 48dc4ffc00ad, as Debian 1.1 (Buzz) shipped it.

manipulate window selection

XGetSelectionOwner(3x) on Linux now