make c700-hardware patch apply to qt-2.3.9
authorLorn Potter <lpotter@trolltech.com>
Mon, 13 Sep 2004 09:46:28 +0000 (09:46 +0000)
committerLorn Potter <lpotter@trolltech.com>
Mon, 13 Sep 2004 09:46:28 +0000 (09:46 +0000)
BKrev: 41456c74gocp6SzVAHp1MHP-ILRumQ

qte/qte-2.3.8-snapshot/c700-hardware.patch

index e69de29..e061c80 100644 (file)
@@ -0,0 +1,17 @@
+--- qwsmouse_qws.cpp.~1~       2004-09-13 09:17:07 +10:00
++++ qt-2.3.9/src/kernel/qwsmouse_qws.cpp       2004-09-13 19:41:23 +10:00
+@@ -71,10 +71,10 @@
+ #elif defined(QT_QWS_SL5XXX)
+ #define QT_QWS_SL5XXX_RAW
+ typedef struct {
+-       long y;
+-       long x;
+-       long pressure;
+-       long long millisecs;
++       unsigned short pressure;
++       unsigned short x;
++       unsigned short y;
++       unsigned short millisecs;
+ } TS_EVENT;
+ #define QT_QWS_TP_SAMPLE_SIZE 10
+ #define QT_QWS_TP_MINIMUM_SAMPLES 4