mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
MetaInputSettings: Don't initialize the same setting twice
Two settings were set twice on the same device. Now instead group the generic update functions together, removing the redundant calls. https://bugzilla.gnome.org/show_bug.cgi?id=769179
This commit is contained in:
parent
97d180ee59
commit
53e3d0df64
@ -1233,13 +1233,12 @@ static void
|
||||
apply_device_settings (MetaInputSettings *input_settings,
|
||||
ClutterInputDevice *device)
|
||||
{
|
||||
update_mouse_left_handed (input_settings, device);
|
||||
update_device_speed (input_settings, device);
|
||||
update_device_natural_scroll (input_settings, device);
|
||||
|
||||
update_mouse_left_handed (input_settings, device);
|
||||
|
||||
update_touchpad_left_handed (input_settings, device);
|
||||
update_device_speed (input_settings, device);
|
||||
update_device_natural_scroll (input_settings, device);
|
||||
update_touchpad_tap_enabled (input_settings, device);
|
||||
update_touchpad_send_events (input_settings, device);
|
||||
update_touchpad_edge_scroll (input_settings, device);
|
||||
|
Loading…
Reference in New Issue
Block a user