diff --git a/clutter/clutter-main.c b/clutter/clutter-main.c index 1094104bd..c720eac08 100644 --- a/clutter/clutter-main.c +++ b/clutter/clutter-main.c @@ -1936,7 +1936,7 @@ generate_enter_leave_events (ClutterEvent *event) } } - set_motion_last_actor (motion_current_actor, event->motion.device); + set_motion_last_actor (motion_current_actor, device); } /**