chore: Fix smithay version

This commit is contained in:
Victoria Brekenfeld 2024-06-26 15:58:07 +02:00
parent 449048bdc5
commit 76fca0c591
8 changed files with 302 additions and 91 deletions

View file

@ -3,7 +3,7 @@
use anyhow::{anyhow, Context, Result};
use smithay::{
backend::{
allocator::Format,
allocator::format::FormatSet,
drm::{DrmNode, NodeType},
},
reexports::{
@ -32,9 +32,8 @@ impl State {
&mut self,
dh: &DisplayHandle,
render_node: DrmNode,
formats: impl Iterator<Item = Format>,
formats: FormatSet,
) -> Result<Socket> {
let formats = formats.collect::<Vec<_>>();
let socket_name = format!(
"{}-{}",
&self.common.socket.to_string_lossy(),