diff options
author | Arrigo Marchiori <ardovm@yahoo.it> | 2008-11-20 09:57:34 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@redhat.com> | 2008-11-20 09:57:34 +1000 |
commit | e94c776512adba9398a01406e630271cf912bf21 (patch) | |
tree | 85c328bc7798ac3870541478bdb79ca44adaca15 /src | |
parent | d112cca181b9fc9586391e83b8c0ff26ca22ff9e (diff) |
Fix y axis inversion for axis ranges with a non-zero minimum.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/xf86PM.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xf86PM.c b/src/xf86PM.c index 71edeee..95adb8b 100644 --- a/src/xf86PM.c +++ b/src/xf86PM.c @@ -716,7 +716,7 @@ DMC9000_ReadInput (InputInfoPtr pInfo) } if (priv->invert_y) { - y = priv->max_y - y; + y = priv->max_y - y + priv->min_y; } priv->packet[0] = priv->pen_down ? 0x01 : 0x00; |