~oif-team/geis/trunk

Viewing all changes in revision 258.

  • Committer: Daniel d'Andrada
  • Date: 2012-04-24 20:24:56 UTC
  • mfrom: (256.1.10 lp984069_v5)
  • Revision ID: daniel.dandrada@canonical.com-20120424202456-lozx0svr3f5s89fa
GeisTouches from direct devices should be in window coordinates

GeisTouches provided by gesture events (GEIS_EVENT_GESTURE_BEGIN,
GEIS_EVENT_GESTURE_UPDATE and GEIS_EVENT_GESTURE_END) should be in window
coordinates if they come from a direct device (e.g. touchscreens) and in
input device coordinates when from indirect devices (e.g. touchpads/trackpads).

Have this also documented in geis.h

They were coming always in device coordinates.

Includes unit test and X11 mockups.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: