[PULL][master][1.12] Miscellaneous touch fixes
Chase Douglas
chase.douglas at canonical.com
Wed Apr 18 20:54:19 PDT 2012
The following changes since commit 80fefc42f5e67e6b4a4b440d8991bee7e5f38359:
Merge remote-tracking branch 'whot/for-keith' (2012-04-15 21:05:30 -0700)
are available in the git repository at:
git://people.freedesktop.org/~cndougla/xserver input-fixes
for you to fetch changes up to 00cf1c40b28417d7035c2917d048553eb720023c:
Replay original touch begin event instead of generated begin event (2012-04-18 20:36:02 -0700)
----------------------------------------------------------------
Chase Douglas (17):
Check core event mask properly for pointer emulated touch events
Only set XI2 mask if pointer emulation is for XI2 client
Split out helper function TouchListenerAcceptReject()
Accept touch sequence for pointer listener after second event delivery
When deactivating an explicit pointer grab, reject all grabs on touches
Fix copy/paste error from before git history in UpdateCurrentTimeIf()
On touch accept, only process end event for owner if it has seen the end
End a pointer emulated touch event only on a "real" end event
Don't deactivate implicit pointer grab on fake touch end event
When activating an explicit grab, update owning listener
Rename TouchEnsureSprite to TouchBuildSprite and event type checks
Create a new dix touch record for an emulated touch with no listeners
Ensure touch is ended when last listener is rejected
Check other clients' core masks properly when adding touch listener
Update device state including when touch record does not exist
Update currentTime in dispatch loop
Replay original touch begin event instead of generated begin event
Xi/exevents.c | 92 +++++++++++++++++++++++++++++++++----------
dix/dispatch.c | 5 ++-
dix/events.c | 55 +++++++++++++++++++++----
dix/touch.c | 117 ++++++++++++++++++++++++++++++------------------------
include/input.h | 6 ++-
5 files changed, 189 insertions(+), 86 deletions(-)
More information about the xorg-devel
mailing list