frames: Handle touch events
authorCarlos Garnacho <carlosg@gnome.org>
Sun, 15 Apr 2018 14:26:32 +0000 (16:26 +0200)
committerSimon McVittie <smcv@debian.org>
Sun, 8 Jul 2018 10:32:56 +0000 (11:32 +0100)
commita07e8ecc267cdf8c05bb566f795a342bcf8f14e9
treef902c0fef9659f3d2ccc051d3f872cd7b6296d63
parent66ca325dc100e920a5047b45c15eaf7e527e5ffa
frames: Handle touch events

This is just done on wayland as it'll break horribly on X11, we let
this happen through pointer emulated events in XISelectEvents evmask
instead.

Some things had to be made slightly more generic to accomodate touch
events. The MetaFrames shall lock onto a single touch at a time, we
don't allow crazy stuff like multi-window drag nor multi-edge resizes.

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=770185
Origin: upstream, 3.28.3, commit:47131b1dadc1a9b7afe9a22740ab69ce97fb02d6

Gbp-Pq: Name frames-Handle-touch-events.patch
src/ui/frames.c
src/ui/frames.h