← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 799202] Re: wacom stylus jumps with latest xserver-xorg-core

 

The cause of (some part) of this bug is somewhere else. I removed all
code from patch 503 and left only the part that adds new fields to
structs. Effectively it looks like this:

--- a/include/inputstr.h
+++ b/include/inputstr.h
@@ -335,6 +335,8 @@ typedef struct _TouchPointInfo {
     unsigned int history_size;      /* Size of history ring buffer */
     InternalEvent *first_history;   /* Pointer to first event in history */
     InternalEvent *next_history;    /* Pointer to next available event */
+    int         untransformed_x;
+    int         untransformed_y;
 } TouchPointInfoRec;
 
 typedef struct _TouchAxisInfo {
@@ -623,6 +625,8 @@ typedef struct _DeviceIntRec {
         float           remainder[MAX_VALUATORS];
         int             numValuators;
         DeviceIntPtr    slave;
+        int             untransformed_x;
+        int             untransformed_y;
     } last;

Simply applying this patch breaks pressure. Since this gets installed to
/usr/include/xorg/inputstr.h, that means that someone (Qt probably) is
using these structs incorrectly (creating them by themselves, building
arrays or something else).

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/799202

Title:
  wacom stylus jumps with latest xserver-xorg-core

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/799202/+subscriptions


Follow ups

References