Skip to content

XRes: Use _XRead instead of _XRead32 for reading pid

Ray Strode requested to merge halfline/libxres:xres-fix into master

_XRead32 requires the output variable to be a long, but ReadClientValues feeds it client->value which is a 32-bit allocation.

This commit changes the code to use _XRead instead, which properly handles 32-bit output variables.

#3 (closed)

Merge request reports