Closed baskerville closed 7 years ago
The maximum x coordinate of a pixel inside the rectangle (x, y, w, h) is x+w-1.
The specs (https://specifications.freedesktop.org/wm-spec/wm-spec-1.3.html#idm140130317564416) provides an example that corroborates the fact that the range is inclusive: bottom_end_x is 2303. This value can be interpreted as 1280+1024-1.
Welp, thanks for the patch!
The maximum x coordinate of a pixel inside the rectangle (x, y, w, h) is x+w-1.
The specs (https://specifications.freedesktop.org/wm-spec/wm-spec-1.3.html#idm140130317564416) provides an example that corroborates the fact that the range is inclusive: bottom_end_x is 2303. This value can be interpreted as 1280+1024-1.