mirror of
https://github.com/brl/mutter.git
synced 2025-02-16 13:24:09 +00:00
backends/native: Remove unused function
This meta_seat_native_get_device() function has been unused for some time. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1448
This commit is contained in:
parent
f7d0f2ce20
commit
41042b18d6
@ -2843,24 +2843,6 @@ meta_seat_native_init (MetaSeatNative *seat)
|
||||
seat->repeat_interval = 33; /* ms */
|
||||
}
|
||||
|
||||
ClutterInputDevice *
|
||||
meta_seat_native_get_device (MetaSeatNative *seat,
|
||||
int id)
|
||||
{
|
||||
ClutterInputDevice *device;
|
||||
GSList *l;
|
||||
|
||||
for (l = seat->devices; l; l = l->next)
|
||||
{
|
||||
device = l->data;
|
||||
|
||||
if (clutter_input_device_get_device_id (device) == id)
|
||||
return device;
|
||||
}
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
void
|
||||
meta_seat_native_set_stage (MetaSeatNative *seat,
|
||||
ClutterStage *stage)
|
||||
|
@ -203,9 +203,6 @@ void meta_seat_native_set_libinput_seat (MetaSeatNative *seat,
|
||||
|
||||
void meta_seat_native_sync_leds (MetaSeatNative *seat);
|
||||
|
||||
ClutterInputDevice * meta_seat_native_get_device (MetaSeatNative *seat,
|
||||
int id);
|
||||
|
||||
MetaTouchState * meta_seat_native_acquire_touch_state (MetaSeatNative *seat,
|
||||
int device_slot);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user