[PATCH 00/12] A bunch of touch grab fixes

Peter Hutterer peter.hutterer at who-t.net
Mon Mar 4 22:21:09 PST 2013


This is a rather large patch-set to fix a stuck grab reported in
https://bugs.freedesktop.org/show_bug.cgi?id=56578

This set goes on top of:
http://lists.x.org/archives/xorg-devel/2013-March/035634.html

Upfront: this isn't the perfect solution, but that one would require a
rather large rewrite. This patchset just hacks a few bits up, but it does
fix a swath of bugs with touch grabs.

Some of the more significiant bugs fixed on the way:
* if all we have is a single client with a touch grab, the protocol-required
  XIAllowTouches() caused a BadValue because the touch was cleaned up
  prematurely
* core passive grabs could get stuck and never receive the emulated release event
* a physically finished touch could get hung if the current owner rejected
  and the next owner was a core grab because we never emulated the release.
* if a core passive grab was frozen, the release event was processed anyway
  (that's at the core of 56578)

Cheers,
  Peter


More information about the xorg-devel mailing list