Closed hubenchang0515 closed 1 year ago
width and height should be uint16 rather than int16_t
width
height
uint16
int16_t
Why and whats the effect of this PR?
The type of width and height in X11 is uint16_t(unsigned), not int16_t(signed). I wrote the wrong type before。
uint16_t
width
andheight
should beuint16
rather thanint16_t