Prefer higher refresh rate default modes

This commit is contained in:
Ronan Pigott 2019-11-04 22:24:00 -07:00 committed by Simon Ser
parent 3975ca28c2
commit f33dcd4c60

View File

@ -222,7 +222,7 @@ static bool set_mode(struct wlr_output *output, int width, int height,
best = mode; best = mode;
break; break;
} }
best = mode; best = mode->refresh > best->refresh ? mode : best;
} }
} }
if (!best) { if (!best) {