Reference

XGetWMName(3) on Linux

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

set or read a window's WM_NAME property

XGetWMName(3) on Linux now