feat: prefer highest refresh rate at native resolution
populate_modes() now selects the mode with the highest refresh rate at the preferred (native) resolution instead of blindly using the EDID PREFERRED flag. This ensures high-refresh panels (120 Hz, 144 Hz, …) are used out-of-the-box, including in the greeter session. Also fix libcosmic → libcosmic-yoda package reference.
This commit is contained in:
parent
d1849f639b
commit
7187efd58f
3 changed files with 18 additions and 7 deletions
6
Cargo.lock
generated
6
Cargo.lock
generated
|
|
@ -1009,7 +1009,7 @@ dependencies = [
|
|||
"indexmap 2.13.0",
|
||||
"jiff",
|
||||
"keyframe",
|
||||
"libcosmic",
|
||||
"libcosmic-yoda",
|
||||
"libdisplay-info",
|
||||
"libsystemd",
|
||||
"log-panics",
|
||||
|
|
@ -1115,7 +1115,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "cosmic-randr-shell"
|
||||
version = "0.1.0"
|
||||
version = "1.3.0"
|
||||
dependencies = [
|
||||
"kdl",
|
||||
"slotmap",
|
||||
|
|
@ -3139,7 +3139,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|||
checksum = "68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66"
|
||||
|
||||
[[package]]
|
||||
name = "libcosmic"
|
||||
name = "libcosmic-yoda"
|
||||
version = "0.1.0-yoda.2"
|
||||
dependencies = [
|
||||
"apply",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue