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:
parent
da6b5eb7e1
commit
1bacefd6d8
@ -572,7 +572,7 @@ clutter_win32_handle_event (const MSG *msg)
|
|||||||
clutter_event_set_device (event, core_pointer);
|
clutter_event_set_device (event, core_pointer);
|
||||||
|
|
||||||
/* we entered the stage */
|
/* we entered the stage */
|
||||||
_clutter_stage_add_device (stage, event->crossing.device);
|
_clutter_stage_add_device (stage, core_pointer);
|
||||||
|
|
||||||
take_and_queue_event (crossing);
|
take_and_queue_event (crossing);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user