fix attempt for touchpads without pressure data
authorMartin Renold <martinxyz@gmx.ch>
Fri, 16 Jul 2010 15:36:32 +0000 (17:36 +0200)
committerMartin Renold <martinxyz@gmx.ch>
Fri, 16 Jul 2010 15:47:37 +0000 (17:47 +0200)
commitbedc2198fe4867b8403da9951417617cc22e18e2
tree8d160885a948c188e0bbc2a2941f36faf1308939
parentb68699133e571c8e8d7b8b421cd9d4cb3cf7d1c8
fix attempt for touchpads without pressure data

This fixes mouse button painting. A button event is now treated
like a motion event. (Tablet pressure changes are reported through
motion events, so it works now the same way.)

This will not fix glitches with touchpads that report pressure but
no motion events without pressure.

http://forum.intilinux.com/mypaint-help-and-tips/touchscreen-brush-%27trailing%27-issue/
https://gna.org/bugs/index.php?13622 (partial fix)
gui/tileddrawwidget.py