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.
This commit is contained in:
Emmanuele Bassi 2011-03-08 10:01:53 +00:00
parent da6b5eb7e1
commit 1bacefd6d8

View File

@ -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);