Fix X11 tablet pen and eraser distinction being wrong in some cases.
authorBrecht Van Lommel <brechtvanlommel@gmail.com>
Sat, 24 Nov 2018 22:21:13 +0000 (23:21 +0100)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Sat, 24 Nov 2018 22:24:32 +0000 (23:24 +0100)
commit7c19d9e9af1a5631073f177fe5f212d2643a7424
tree68f81521ca666b000afc4d2f438477b6a0bf0674
parentb348d1ac6263052d235979b84c721b6b99420078
Fix X11 tablet pen and eraser distinction being wrong in some cases.

This extends the earlier fix to use the latest logic from Wine's wintab.c,
to better handle eraser detection.
intern/ghost/intern/GHOST_SystemX11.cpp