Skip to content

Commit

Permalink
Advertise dmabuf v5
Browse files Browse the repository at this point in the history
The code to raise a protocol error if planes had different modifiers is
already present, this just needed `wayland-protocols` to support version
5.
  • Loading branch information
ids1024 committed Feb 16, 2024
1 parent 832dee8 commit 99e375c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ tempfile = { version = "3.0", optional = true }
thiserror = "1.0.25"
udev = { version = "0.8.0", optional = true }
wayland-egl = { version = "0.32.0", optional = true }
wayland-protocols = { version = "0.31.0", features = ["unstable", "staging", "server"], optional = true }
wayland-protocols = { version = "0.31.2", features = ["unstable", "staging", "server"], optional = true }
wayland-protocols-wlr = { version = "0.2.0", features = ["server"], optional = true }
wayland-protocols-misc = { version = "0.2.0", features = ["server"], optional = true }
wayland-server = { version = "0.31.0", optional = true }
Expand Down
3 changes: 1 addition & 2 deletions src/wayland/dmabuf/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -710,8 +710,7 @@ impl DmabufState {

let formats = Arc::new(formats);
let version = if default_feedback.is_some() {
// TODO: Update to 5 when wayland-protocols is updated
4
5
} else {
3
};
Expand Down

0 comments on commit 99e375c

Please sign in to comment.