Skip to content

Commit

Permalink
chore: max -> fmax
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleGospo committed May 2, 2024
1 parent 222b363 commit 9366dd2
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 max(ceil(manager->highest_monitor_scale), 1);
+ return fmax(ceil(manager->highest_monitor_scale), 1);
+ }
+
+ return 1;
Expand Down

0 comments on commit 9366dd2

Please sign in to comment.