mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05:00
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:
parent
23c931ff18
commit
a37bec258c
@ -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;
|
||||
}
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user