Xi: hook up pointer emulation for emulating touches
authorPeter Hutterer <peter.hutterer@who-t.net>
Wed, 21 Dec 2011 00:33:33 +0000 (16:33 -0800)
committerPeter Hutterer <peter.hutterer@who-t.net>
Wed, 21 Dec 2011 02:38:36 +0000 (12:38 +1000)
commit1894468c2b9788efa70ef4fb5fc911711402f3a7
tree23d2eb6b18098c03ddaf6a2554095d20fe187869
parent753c4dca1e42035e29fb21458a746e484ed93ca3
Xi: hook up pointer emulation for emulating touches

Includes a hack for implicit grab activation, because integrating this
requires a larger rewrite and I'm not sleeping enough as it is.
Right now, we deliver the event and check before/after if there is an
implicit grab on. If one activated, then store the event in the grab and
switch the listener type to a grab listener.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
Xi/exevents.c