lp:~oif-team/grail/v1.0.20+tapfix

Created by Henrik Rydberg and last modified
Get this branch:
bzr branch lp:~oif-team/grail/v1.0.20+tapfix
Members of Open Input Framework Team can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Open Input Framework Team
Project:
Grail
Status:
Merged

Recent revisions

127. By Henrik Rydberg

Fix problem with tap properties at touch release -again

This problem was fixed in the early grail stages, and reappeared
in Aug 2010, in commit 241c5ec0. This one-liner fixes the problem,
because the only interesting update to the properties state at
maximum number of fingers is the end time.

Signed-off-by: Henrik Rydberg <email address hidden>

126. By Henrik Rydberg

Bump to v1.0.20

125. By Henrik Rydberg

Make grabbing client exclusive

When a possible gesture is started for a global client (sysflag set),
it is desirable that gestures to other clients are disregarded until
all contacts have left the surface. In principle this could be refined
further, such that if gesture are not detected, they are passed on to
other clients, but that also affects how touches are passed onto lower
layers like XI2.1, so simply making sure a global system client gets
all events potentially leading to gestures is good enough for now.

Also note that in the current combination of synaptics/evdev X servers
and grail, there can be no overlapping potential gestures between two
global clients, or the resulting event recipient is not correct.

124. By Henrik Rydberg

Make reset logic of pinch and drag same as for drag

There is no direct reason for one-fingered pinch/rotate gestures
to be discarded immediately, so only reset gestures on touch down,
as for drags.

123. By Henrik Rydberg

Remove unused tapping state

This patch removes some cruft that was left over from the
removal of the short tap time logic.

122. By Henrik Rydberg

Reset tap state after timeout

A touch and hold will not properly reset the tap state, such that
the next tap fails to register. Fixed with this patch.

121. By Henrik Rydberg

Adjust gesture buffer sizes and timings

Adjust timings to put drag, pinch and rotate on more equal footing,
with regard to gesture timeouts. Also make sure events are not lost
during hold, now that all MT events are buffered as well.

120. By Henrik Rydberg

Skip events selectively

Buffer all events as planned, but strip the stream of all events
involved with pointer and MT, rather than bluntly removing all
events. In practise, this means button and switch events are let
through, undistorted although possibly slightly delayed.

119. By Henrik Rydberg

Wait for the right number of fingers before gesture timeout

A client listening only for multi-finger gestures will not get
the chance to recognize unless there is a gesture timeout. This
patch waits until the drag hold time has passed before releasing
the touch.

118. By Henrik Rydberg

Introduce activation hold time

Do not activate a drag, pinch or rotate immediately, even
if the activation threshold is met. This allows for a smoother
transition between fingers.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:grail
This branch contains Public information 
Everyone can see this information.