diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2015-10-30 14:10:19 +0100 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2015-11-03 07:07:12 -0500 |
commit | 29dd395b7a5b8af0af55c12763e470f1daec287b (patch) | |
tree | 0a64b225298e5a56ac5e08987eb319f480e9bbb3 /gtk/gtkwindowprivate.h | |
parent | b3b4282beb9930b3d1688ff19f8016f35998427d (diff) | |
download | gtk+-29dd395b7a5b8af0af55c12763e470f1daec287b.tar.gz |
x11: Detect single-touch touchscreens as GDK_SOURCE_TOUCHSCREEN
Those won't have ABS_MT_* axes, so won't be reported has having
XITouchClassInfo. Fallback on these to checking whether abs x/y axes are
available. After the Wacom checks, any remaining device with absolute axes
should be touchscreens, and GDK_SOURCE_MOUSE does indeed just make sense on
devices with relative axes.
https://bugzilla.gnome.org/show_bug.cgi?id=757358
Diffstat (limited to 'gtk/gtkwindowprivate.h')
0 files changed, 0 insertions, 0 deletions