Skip to content

Commit

Permalink
chore: Test a max of 1 in meta_xwayland_get_effective_scale
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleGospo committed May 2, 2024
1 parent b37c244 commit 222b363
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion staging/mutter/3567.patch
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 222b363

Please sign in to comment.