backends/native: Use ClutterEvent getter methods

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3153>
This commit is contained in:
Carlos Garnacho
2023-08-04 12:35:26 +02:00
parent 8f3e503c04
commit dbbfd03436
2 changed files with 43 additions and 29 deletions

View File

@ -61,7 +61,7 @@ meta_seat_native_handle_event_post (ClutterSeat *seat,
{
MetaSeatNative *seat_native = META_SEAT_NATIVE (seat);
ClutterInputDevice *device = clutter_event_get_source_device (event);
ClutterEventType event_type = event->type;
ClutterEventType event_type = clutter_event_type (event);
if (event_type == CLUTTER_PROXIMITY_OUT)
{