mirror of
https://github.com/gwenhael-le-moine/sway-patched-tray-menu.git
synced 2024-12-28 22:23:42 +01:00
Prefer higher refresh rate default modes
This commit is contained in:
parent
3975ca28c2
commit
f33dcd4c60
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue