backends: Drop MetaInputSettings vfunc to figure out trackballs

These now have a capability, so we don't need this vfunc anymore.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2617>
This commit is contained in:
Carlos Garnacho 2022-09-06 10:21:52 +02:00 committed by Marge Bot
parent 23c931ff18
commit a37bec258c
2 changed files with 0 additions and 10 deletions

View File

@ -221,12 +221,6 @@ meta_input_settings_dummy_has_two_finger_scroll (MetaInputSettings *settings,
{
return FALSE;
}
static gboolean
meta_input_settings_dummy_is_trackball_device (MetaInputSettings *settings,
ClutterInputDevice *device)
{
return FALSE;
}
static void
meta_input_settings_dummy_init (MetaInputSettingsDummy *input_settings)
@ -290,6 +284,4 @@ meta_input_settings_dummy_class_init (MetaInputSettingsDummyClass *klass)
meta_input_settings_dummy_set_trackball_middle_click_emulation;
input_settings_class->has_two_finger_scroll =
meta_input_settings_dummy_has_two_finger_scroll;
input_settings_class->is_trackball_device =
meta_input_settings_dummy_is_trackball_device;
}

View File

@ -152,8 +152,6 @@ struct _MetaInputSettingsClass
gboolean (* has_two_finger_scroll) (MetaInputSettings *settings,
ClutterInputDevice *device);
gboolean (* is_trackball_device) (MetaInputSettings *settings,
ClutterInputDevice *device);
};
void meta_input_settings_maybe_save_numlock_state (MetaInputSettings *input_settings,