Reference

XGetWMProtocols(3) on Linux

The text e9d11b436c2b, as Debian 12 (Bookworm) shipped it.

set or read a window's WM_PROTOCOLS property

XGetWMProtocols(3) on Linux now