mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 04:22:05 +00:00
event: The device setter work on sub-types
Instead of just setting the input device pointer in the private event data, it should also set the field in the event sub-types, so that direct access to the structures still works.
This commit is contained in:
parent
8fc462269d
commit
a573ad05c9
@ -550,8 +550,6 @@ clutter_event_set_device (ClutterEvent *event,
|
|||||||
ClutterEventPrivate *real_event = (ClutterEventPrivate *) event;
|
ClutterEventPrivate *real_event = (ClutterEventPrivate *) event;
|
||||||
|
|
||||||
real_event->device = device;
|
real_event->device = device;
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (event->type)
|
switch (event->type)
|
||||||
|
Loading…
Reference in New Issue
Block a user