The ResourceUsage struct contains information about the total resource usage of an X client, and the number of resources allocated for each resource type.
pid
gdisplay
xid