Ranges of 0 width cannot intersect (Fixes bug #3717)
Dana Jansens danakj@orodu.net
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
openbox/geom.h
→
openbox/geom.h
@@ -160,6 +160,6 @@ (s1).bottom_start == (s2).bottom_start && \
(s1).bottom_end == (s2).bottom_end) #define RANGES_INTERSECT(r1x, r1w, r2x, r2w) \ - (r1x < r2x + r2w && r1x + r1w > r2x) + (r1w && r2w && r1x < r2x + r2w && r1x + r1w > r2x) #endif