summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qt_x11_p.h
diff options
context:
space:
mode:
authorThomas Zander <t.zander@nokia.com>2010-03-04 12:16:09 (GMT)
committerThomas Zander <t.zander@nokia.com>2010-03-04 12:16:09 (GMT)
commitf1e39e7dea8634695263435f0bf912ce19c43195 (patch)
tree6464b66432a33bba8a27dfb93f24d67dc9cbf6eb /src/gui/kernel/qt_x11_p.h
parenta9bf9766f18e15fbecf53ac1cc9cf57c9dba259c (diff)
downloadQt-f1e39e7dea8634695263435f0bf912ce19c43195.zip
Qt-f1e39e7dea8634695263435f0bf912ce19c43195.tar.gz
Qt-f1e39e7dea8634695263435f0bf912ce19c43195.tar.bz2
Make tablet detection work with new wacom drivers
wacom driver fixed a bug in assigning atom names where it messed up the device names. Their solution apparently renamed the atoms The type names used now are "STYLUS", "CURSOR", "ERASER", "PAD" and "TOUCH" for each respective device. This change detects those as our tablet input devices. Reviewed-by: Benjamin Poulain <benjamin.poulain@nokia.com> Task-number: QTBUG-8599
Diffstat (limited to 'src/gui/kernel/qt_x11_p.h')
-rw-r--r--src/gui/kernel/qt_x11_p.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/kernel/qt_x11_p.h b/src/gui/kernel/qt_x11_p.h
index d110084..14e04bb 100644
--- a/src/gui/kernel/qt_x11_p.h
+++ b/src/gui/kernel/qt_x11_p.h
@@ -675,6 +675,9 @@ struct QX11Data
XWacomCursor,
XWacomEraser,
+ XTabletStylus,
+ XTabletEraser,
+
NPredefinedAtoms,
_QT_SETTINGS_TIMESTAMP = NPredefinedAtoms,