input: Transform to surface coordinates outside resource for loop
authorKristian Høgsberg <krh@bitplanet.net>
Wed, 5 Feb 2014 06:12:29 +0000 (22:12 -0800)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 5 Feb 2014 21:36:02 +0000 (13:36 -0800)
commitc988362a39f26cd0b3f08d86f21e758d7b762511
tree87a58b774c506d8b9c4aead166ff2979bcb88998
parent4c72f5721e00ae6914f0f40518cf83233ed15b32
input: Transform to surface coordinates outside resource for loop

When we send the pointer motion event, the transform from compositor to
surface coordinates doesn't depend on the resource.  Transform the
coordinates up front instead of everytime we send to a resource.
src/input.c