chore: update smithay

This commit is contained in:
Victoria Brekenfeld 2025-04-02 20:46:40 +02:00 committed by Victoria Brekenfeld
parent 99bbd10168
commit 0159bce9db
3 changed files with 10 additions and 3 deletions

9
Cargo.lock generated
View file

@ -330,6 +330,12 @@ version = "1.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0"
[[package]]
name = "atomic_float"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "628d228f918ac3b82fe590352cc719d30664a0c13ca3a60266fe02c7132d480a"
[[package]]
name = "atomicwrites"
version = "0.4.2"
@ -4679,11 +4685,12 @@ checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67"
[[package]]
name = "smithay"
version = "0.5.0"
source = "git+https://github.com/smithay/smithay//?rev=657170c#657170c1c1995f13bde81ced508b47defa4af8ec"
source = "git+https://github.com/smithay/smithay//?rev=ce61c9b#ce61c9b3293b13adf03863848426f0d7c4907c3e"
dependencies = [
"aliasable",
"appendlist",
"ash",
"atomic_float",
"bitflags 2.8.0",
"calloop 0.14.2",
"cc",

View file

@ -122,4 +122,4 @@ cosmic-protocols = { git = "https://github.com/pop-os//cosmic-protocols", rev =
cosmic-client-toolkit = { git = "https://github.com/pop-os//cosmic-protocols", rev = "ee0d46f" }
[patch."https://github.com/smithay/smithay"]
smithay = { git = "https://github.com/smithay/smithay//", rev = "657170c" }
smithay = { git = "https://github.com/smithay/smithay//", rev = "ce61c9b" }

View file

@ -506,7 +506,7 @@ impl Common {
.get_data::<XWaylandClientData>()
.unwrap()
.compositor_state
.set_client_scale(new_scale as u32);
.set_client_scale(new_scale as f64);
// update wl/xdg_outputs
for output in self.shell.read().unwrap().outputs() {