tests: Add tests for monitor_calculate_mode_scale
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2653>
This commit is contained in:
@ -727,7 +727,7 @@ meta_create_monitor_test_setup (MetaBackend *backend,
|
||||
}
|
||||
|
||||
scale = setup->outputs[i].scale;
|
||||
if (scale < 1)
|
||||
if (scale < 1 && scale != -1)
|
||||
scale = 1;
|
||||
|
||||
is_laptop_panel = setup->outputs[i].is_laptop_panel;
|
||||
|
Reference in New Issue
Block a user