shell: Stop moving surfae after touch point 0 goes up
authorKristian Høgsberg <krh@bitplanet.net>
Fri, 17 Jan 2014 23:18:10 +0000 (15:18 -0800)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 17 Jan 2014 23:18:35 +0000 (15:18 -0800)
commit8e80a31ba4f09dd27793cca42c5e412e9a167af6
tree87222a166d40c2ea6cd5c8a89f16e21d457b8e60
parent1be87e3c8155204852509f47f8e239b479da6feb
shell: Stop moving surfae after touch point 0 goes up

The grab stays alive as long as at least one touch point is down.  If touch
point 0 is lifted while other touch points are down, the surface will jump
around when touch point 0 is put down again.

This change marks the grab as inactive once touch point 0 is lifted
and then ignores touch events until all touch points eventually are
lifted and the grab terminates.

https://bugs.freedesktop.org/show_bug.cgi?id=73750
desktop-shell/shell.c