fix(display): update cosmic-randr-shell for VRR arg display
This commit is contained in:
parent
1b4a51b832
commit
90636ffbb9
2 changed files with 8 additions and 8 deletions
12
Cargo.lock
generated
12
Cargo.lock
generated
|
|
@ -1617,7 +1617,7 @@ dependencies = [
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "cosmic-randr"
|
name = "cosmic-randr"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/pop-os/cosmic-randr#a38d5fbd7f9747cd6f756160ec5c97852f5a8770"
|
source = "git+https://github.com/pop-os/cosmic-randr#bce9cdf2d447508d4e2d54a2be4fcd738ab51df5"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cosmic-protocols",
|
"cosmic-protocols",
|
||||||
"futures-lite 2.6.1",
|
"futures-lite 2.6.1",
|
||||||
|
|
@ -1633,7 +1633,7 @@ dependencies = [
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "cosmic-randr-shell"
|
name = "cosmic-randr-shell"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/pop-os/cosmic-randr#a38d5fbd7f9747cd6f756160ec5c97852f5a8770"
|
source = "git+https://github.com/pop-os/cosmic-randr#bce9cdf2d447508d4e2d54a2be4fcd738ab51df5"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"kdl",
|
"kdl",
|
||||||
"slotmap",
|
"slotmap",
|
||||||
|
|
@ -2370,7 +2370,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "778e2ac28f6c47af28e4907f13ffd1e1ddbd400980a9abd7c8df189bf578a5ad"
|
checksum = "778e2ac28f6c47af28e4907f13ffd1e1ddbd400980a9abd7c8df189bf578a5ad"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"libc",
|
"libc",
|
||||||
"windows-sys 0.52.0",
|
"windows-sys 0.60.2",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
|
@ -6731,7 +6731,7 @@ dependencies = [
|
||||||
"errno",
|
"errno",
|
||||||
"libc",
|
"libc",
|
||||||
"linux-raw-sys 0.4.15",
|
"linux-raw-sys 0.4.15",
|
||||||
"windows-sys 0.52.0",
|
"windows-sys 0.59.0",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
|
@ -6744,7 +6744,7 @@ dependencies = [
|
||||||
"errno",
|
"errno",
|
||||||
"libc",
|
"libc",
|
||||||
"linux-raw-sys 0.9.4",
|
"linux-raw-sys 0.9.4",
|
||||||
"windows-sys 0.52.0",
|
"windows-sys 0.60.2",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
|
@ -7417,7 +7417,7 @@ dependencies = [
|
||||||
"getrandom 0.3.3",
|
"getrandom 0.3.3",
|
||||||
"once_cell",
|
"once_cell",
|
||||||
"rustix 1.0.8",
|
"rustix 1.0.8",
|
||||||
"windows-sys 0.52.0",
|
"windows-sys 0.60.2",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
|
|
||||||
|
|
@ -733,7 +733,7 @@ impl Page {
|
||||||
self.active_display = output_id;
|
self.active_display = output_id;
|
||||||
self.config.refresh_rate = None;
|
self.config.refresh_rate = None;
|
||||||
self.config.resolution = None;
|
self.config.resolution = None;
|
||||||
self.config.vrr = output.adaptive_sync;
|
self.config.vrr = dbg!(output.adaptive_sync);
|
||||||
self.config.scale = (output.scale * 100.0) as u32;
|
self.config.scale = (output.scale * 100.0) as u32;
|
||||||
|
|
||||||
self.cache.modes.clear();
|
self.cache.modes.clear();
|
||||||
|
|
@ -1099,7 +1099,7 @@ impl Page {
|
||||||
|
|
||||||
task.arg("mode")
|
task.arg("mode")
|
||||||
.arg("--adaptive-sync")
|
.arg("--adaptive-sync")
|
||||||
.arg(format!("{}", mode))
|
.arg(<&'static str>::from(mode))
|
||||||
.arg(name)
|
.arg(name)
|
||||||
.arg(itoa::Buffer::new().format(current.size.0))
|
.arg(itoa::Buffer::new().format(current.size.0))
|
||||||
.arg(itoa::Buffer::new().format(current.size.1));
|
.arg(itoa::Buffer::new().format(current.size.1));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue