box: fix wlr_box_intersection
x2
and y2
were computed as inclusive bounds, and then the size was computed with a subtraction on inclusive bounds. To compute a size you need to do a subtraction between an inclusive bound and an exclusive bound. This PR changes x2
and y2
to be exclusive bounds instead.