commit f33dcd4c604fa24058f6cbaf692831420dc5db67 parent 3975ca28c2e870eb3f40bbd43a90354743f7ccf1 Author: Ronan Pigott <rpigott@berkeley.edu> Date: Mon, 4 Nov 2019 22:24:00 -0700 Prefer higher refresh rate default modes Diffstat:
| M | sway/config/output.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sway/config/output.c b/sway/config/output.c @@ -222,7 +222,7 @@ static bool set_mode(struct wlr_output *output, int width, int height, best = mode; break; } - best = mode; + best = mode->refresh > best->refresh ? mode : best; } } if (!best) {