chiark / gitweb /
Offsets: In button zone code, cope with negative "pos" values
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 23 Apr 2016 22:19:21 +0000 (23:19 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 26 Apr 2016 19:42:32 +0000 (20:42 +0100)
commit5f452ab77f51f34395be0280c8a87233a26d8cce
tree9a751b8a54b9ada4941b1ccaeccdf64b9c0db0fa
parent481529ad21f4b8518434cca82c533277f1353352
Offsets: In button zone code, cope with negative "pos" values

Coordinates might be negative, so we need a separate boolean rather
than using -1 as a sentinel.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/gestures.c