Reference

XGetWMProtocols(3) on Linux

The text 6607a9f659e3, as Debian 10 (Buster) shipped it.

set or read a window's WM_PROTOCOLS property

XGetWMProtocols(3) on Linux now