kms: Don't join on DrmSurface drop
This commit is contained in:
parent
458f5f4dcf
commit
cd1117080c
3 changed files with 22 additions and 9 deletions
|
|
@ -705,11 +705,9 @@ impl<'a> KmsGuard<'a> {
|
|||
.crtcs()
|
||||
.iter()
|
||||
.filter(|crtc| {
|
||||
!device
|
||||
.inner
|
||||
.surfaces
|
||||
.get(crtc)
|
||||
.is_some_and(|surface| surface.output.is_enabled())
|
||||
!device.inner.surfaces.get(crtc).is_some()
|
||||
// TODO: We can't do this. See https://github.com/Smithay/smithay/pull/1820
|
||||
//.is_some_and(|surface| surface.output.is_enabled())
|
||||
})
|
||||
.copied()
|
||||
.collect::<HashSet<crtc::Handle>>();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue