From 222b363ef71835e6f9ec709618d9651d0bf81b6f Mon Sep 17 00:00:00 2001 From: Kyle Gospodnetich Date: Thu, 2 May 2024 14:34:04 -0700 Subject: [PATCH] chore: Test a max of 1 in meta_xwayland_get_effective_scale --- staging/mutter/3567.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/staging/mutter/3567.patch b/staging/mutter/3567.patch index 074930e..110a9f5 100644 --- a/staging/mutter/3567.patch +++ b/staging/mutter/3567.patch @@ -1138,7 +1138,7 @@ index ea9c27d74..828e6f64e 100644 + META_EXPERIMENTAL_FEATURE_XWAYLAND_NATIVE_SCALING) && + meta_settings_is_experimental_feature_enabled (settings, + META_EXPERIMENTAL_FEATURE_SCALE_MONITOR_FRAMEBUFFER)) -+ return ceil (manager->highest_monitor_scale); ++ return max(ceil(manager->highest_monitor_scale), 1); + } + + return 1;