backends/native: Change a C cast into a GObject type cast

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3647>
This commit is contained in:
Peter Hutterer 2024-03-04 17:47:54 +10:00
parent 1513dd4ef7
commit 75186fb40a

View File

@ -789,7 +789,7 @@ meta_seat_impl_notify_button_in_impl (MetaSeatImpl *seat_impl,
uint32_t button, uint32_t button,
uint32_t state) uint32_t state)
{ {
MetaInputDeviceNative *device_native = (MetaInputDeviceNative *) input_device; MetaInputDeviceNative *device_native = META_INPUT_DEVICE_NATIVE (input_device);
ClutterEvent *event = NULL; ClutterEvent *event = NULL;
ClutterModifierType modifiers; ClutterModifierType modifiers;
int button_nr; int button_nr;