chore: update smithay

Includes the fix in https://github.com/Smithay/smithay/pull/2038,
which helps addresses a regression in controller input for Steam games.
This commit is contained in:
Ian Douglas Scott 2026-05-28 14:53:05 -07:00 committed by Ian Douglas Scott
parent 203cad8cbd
commit 9f28a764a7
4 changed files with 6 additions and 6 deletions

2
Cargo.lock generated
View file

@ -4924,7 +4924,7 @@ checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03"
[[package]]
name = "smithay"
version = "0.7.0"
source = "git+https://github.com/smithay/smithay.git?rev=df73da7#df73da7183c365b00eb4558690a48061462053f2"
source = "git+https://github.com/smithay/smithay.git?rev=85f83ab#85f83ab61711e725aa1f3481df4f4dc5370e925b"
dependencies = [
"aliasable",
"appendlist",

View file

@ -143,4 +143,4 @@ cosmic-protocols = { git = "https://github.com/pop-os//cosmic-protocols", branch
cosmic-client-toolkit = { git = "https://github.com/pop-os//cosmic-protocols", branch = "main" }
[patch.crates-io]
smithay = { git = "https://github.com/smithay/smithay.git", rev = "df73da7" }
smithay = { git = "https://github.com/smithay/smithay.git", rev = "85f83ab" }

View file

@ -345,7 +345,7 @@ impl CosmicSurface {
state.is_some_and(|state| state.states.contains(ToplevelState::Resizing))
}))
}
WindowSurface::X11(surface) => surface.pending_geometry().map(|_| true),
WindowSurface::X11(surface) => surface.pending_configure().map(|_| true),
}
}
@ -591,7 +591,7 @@ impl CosmicSurface {
}
})
}
WindowSurface::X11(surface) => surface.pending_geometry().is_none(),
WindowSurface::X11(surface) => surface.pending_configure().is_none(),
}
}

View file

@ -220,12 +220,12 @@ fn render_input_order_internal<R: 'static>(
.rev()
.filter(|or| {
(*or)
.geometry()
.last_configure()
.as_global()
.intersection(output.geometry())
.is_some()
})
.map(|or| (or, or.geometry().loc.as_global()))
.map(|or| (or, or.last_configure().loc.as_global()))
{
callback(Stage::OverrideRedirect { surface, location })?;
}