intended direct touch behavior

Thomas Jaeger thjaeger at gmail.com
Mon Oct 8 16:30:46 PDT 2012


Hi,

I'm trying to debug a few issues that I suspect are ultimately the
result of wacom touch screens having a resolution different from the
screen resolution [1], and I realized I don't even know what is supposed
to happen when a relative device is used after a touch.  The two
possible behaviors are
(1) jump back to the last (pre-touch) position of the master pointer
(2) stay at the position of the last TouchEnd
The server exhibits behaviors approximating both (1) and (2) depending
on the circumstances: For example, on an empty session (with just the
root window it will do (1) (but the cursor is shown at the point of the
touch until the relative device is actually moved). In an xterm or xev
window, it will do (2) (but jump to the device coordinates of the last
touch, interpreted as screen coordinates, once the relative device is used).

Which of the two behaviors is intended?  I don't personally care either
way, but it'd be nice to be consistent.

Thanks,
Tom

[1] https://bugs.freedesktop.org/show_bug.cgi?id=55477


More information about the xorg-devel mailing list