Reference

XGetWMProtocols(3) on Linux

The text 517c2e08c66a, as Debian 8 (Jessie) shipped it.

set or read a window's WM_PROTOCOLS property

XGetWMProtocols(3) on Linux now