exposay: move the pointer in our motion handler

This is necessary since commit 1959ab.
This commit is contained in:
Emilio Pozuelo Monfort 2013-11-19 12:14:53 +01:00 committed by Kristian Høgsberg
parent da64426685
commit 17467d602d

View File

@ -5232,11 +5232,14 @@ exposay_layout(struct desktop_shell *shell)
}
static void
exposay_motion(struct weston_pointer_grab *grab, uint32_t time)
exposay_motion(struct weston_pointer_grab *grab, uint32_t time,
wl_fixed_t x, wl_fixed_t y)
{
struct desktop_shell *shell =
container_of(grab, struct desktop_shell, exposay.grab_ptr);
weston_pointer_move(grab->pointer, x, y);
exposay_pick(shell,
wl_fixed_to_int(grab->pointer->x),
wl_fixed_to_int(grab->pointer->y));