diff --git a/Cargo.lock b/Cargo.lock index b58cd62c..27e8287e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4813,7 +4813,7 @@ checksum = "8ed6a63f02c8539c91a8685a86f4099661ba3da017932f6ebbea6de3f0fa7c90" [[package]] name = "smithay" version = "0.7.0" -source = "git+https://github.com/smithay/smithay.git?rev=8eb4076#8eb4076cad8705c56f5e3bac8577b83576b6ce76" +source = "git+https://github.com/smithay/smithay.git?rev=efeb597#efeb59768eb9a2d8dae9f71300a56aef06b0c1c4" dependencies = [ "aliasable", "appendlist", diff --git a/Cargo.toml b/Cargo.toml index 27f79056..b5ebbb06 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -144,4 +144,4 @@ lto = "fat" cosmic-protocols = { git = "https://github.com/pop-os//cosmic-protocols", branch = "main" } [patch.crates-io] -smithay = { git = "https://github.com/smithay/smithay.git", rev = "8eb4076" } +smithay = { git = "https://github.com/smithay/smithay.git", rev = "efeb597" } diff --git a/src/wayland/protocols/drm.rs b/src/wayland/protocols/drm.rs index 87eeb0db..c86e5ff0 100644 --- a/src/wayland/protocols/drm.rs +++ b/src/wayland/protocols/drm.rs @@ -180,7 +180,7 @@ where Modifier::Invalid, DmabufFlags::empty(), ); - dma.add_plane(name, 0, offset0 as u32, stride0 as u32); + dma.add_plane(name, offset0 as u32, stride0 as u32); match dma.build() { Some(dmabuf) => { match state.dmabuf_imported(&data.dmabuf_global, dmabuf.clone()) {