Closed rikigigi closed 1 year ago
How can there be a negative width?
that's a good question, but if the XSizeHints is not unsigned, the code must be able to deal with negative integers and decide what to do (discard it). My particular case was the Zoom client 5.11.10 (4400) + gentoo linux
The X server will not return a negative width, so that is not an issue.
The code wrongly assumes that XSizeHints contains unsigned int only, while this is not the case, leading to crashes if negative ints are found there the crashes are like
at the moment the patch
is the fastest possible correction in the case
but the correct solution is to change the data type from unsigned int to int everywhere it is needed