chore: update smithay
This commit is contained in:
parent
9239dc1e75
commit
b8eaf5dcb4
4 changed files with 21 additions and 10 deletions
|
|
@ -397,7 +397,7 @@ impl CosmicSurface {
|
|||
}
|
||||
}),
|
||||
WindowSurface::X11(surface) => {
|
||||
let _ = surface.set_minimized(suspended);
|
||||
let _ = surface.set_suspended(suspended);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ impl DrmLeaseHandler for State {
|
|||
})
|
||||
.ok_or_else(LeaseRejected::default)?;
|
||||
builder.add_plane(primary_plane.handle, primary_plane_claim);
|
||||
if let Some((cursor, claim)) = planes.cursor.and_then(|plane| {
|
||||
if let Some((cursor, claim)) = planes.cursor.into_iter().find_map(|plane| {
|
||||
backend
|
||||
.drm
|
||||
.claim_plane(plane.handle, *crtc)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue