shell: Update focused surface pointer coordinates in popup grab
authorJonas Ådahl <jadahl@gmail.com>
Mon, 11 Aug 2014 20:44:02 +0000 (22:44 +0200)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Mon, 18 Aug 2014 12:36:39 +0000 (15:36 +0300)
commit61917c84e3fcbb71da806a5e94a82916d77e18b1
tree77a7edd1845a164ec7bc3ac7155ff35b65f40659
parenta3a5debe31f3799b5c8f7039c0f6bde63db6092e
shell: Update focused surface pointer coordinates in popup grab

The commit 'input: Send leave and enter pair when the surface moves
under the cursor' introduced focused surface local pointer coordinates
to keep track of if a surface had been moved or transformed in a way
that the pointer posititon relative to that surface would change.
Update these coordinates also for the popup grab as otherwise every
pointer motion during a popup grab results in leave and then enter
events.

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
Tested-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
desktop-shell/shell.c