From 1bacefd6d8222f6314112c1e7ea322a3ab6e432d Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Tue, 8 Mar 2011 10:01:53 +0000 Subject: [PATCH] win32/event: Set the core pointer directly Since we have a ClutterInputDevice pointer already we can just set it instead of using event->crossing.device. --- clutter/win32/clutter-event-win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clutter/win32/clutter-event-win32.c b/clutter/win32/clutter-event-win32.c index a652d0a2c..b97a6ab53 100644 --- a/clutter/win32/clutter-event-win32.c +++ b/clutter/win32/clutter-event-win32.c @@ -572,7 +572,7 @@ clutter_win32_handle_event (const MSG *msg) clutter_event_set_device (event, core_pointer); /* we entered the stage */ - _clutter_stage_add_device (stage, event->crossing.device); + _clutter_stage_add_device (stage, core_pointer); take_and_queue_event (crossing);