diff --git a/src/backends/native/meta-input-settings-native.c b/src/backends/native/meta-input-settings-native.c index 98a86bd8e..bbe99a0ea 100644 --- a/src/backends/native/meta-input-settings-native.c +++ b/src/backends/native/meta-input-settings-native.c @@ -411,9 +411,9 @@ meta_input_settings_native_set_tablet_keep_aspect (MetaInputSettings *settings, backend = meta_get_backend (); monitor_manager = meta_backend_get_monitor_manager (backend); - meta_monitor_manager_get_screen_limits (monitor_manager, - &output_width, - &output_height); + meta_monitor_manager_get_screen_size (monitor_manager, + &output_width, + &output_height); } output_aspect = (gdouble) output_width / output_height; diff --git a/src/backends/x11/meta-input-settings-x11.c b/src/backends/x11/meta-input-settings-x11.c index a2c173193..4dfa32b73 100644 --- a/src/backends/x11/meta-input-settings-x11.c +++ b/src/backends/x11/meta-input-settings-x11.c @@ -628,8 +628,8 @@ meta_input_settings_x11_set_tablet_keep_aspect (MetaInputSettings *settings, backend = meta_get_backend (); monitor_manager = meta_backend_get_monitor_manager (backend); - meta_monitor_manager_get_screen_limits (monitor_manager, - &width, &height); + meta_monitor_manager_get_screen_size (monitor_manager, + &width, &height); } output_aspect = (gdouble) width / height;