Destroy X11Wm when we lose connect to X server

This fixes the issue where X11 windows freeze and can't be closed
when Xwayland dies.
This commit is contained in:
Ian Douglas Scott 2024-09-05 19:30:23 -07:00 committed by Victoria Brekenfeld
parent 4d215755f6
commit b820c97c66
3 changed files with 29 additions and 23 deletions

View file

@ -14,7 +14,7 @@ members = [
anyhow = {version = "1.0.51", features = ["backtrace"]}
bitflags = "2.4"
bytemuck = "1.12"
calloop = {version = "0.14.0", features = ["executor"]}
calloop = {version = "0.14.1", features = ["executor"]}
cosmic-comp-config = {path = "cosmic-comp-config"}
cosmic-config = {git = "https://github.com/pop-os/libcosmic/", features = ["calloop", "macro"]}
cosmic-protocols = {git = "https://github.com/pop-os/cosmic-protocols", branch = "main", default-features = false, features = ["server"]}
@ -116,4 +116,4 @@ inherits = "release"
lto = "fat"
[patch."https://github.com/Smithay/smithay.git"]
smithay = { git = "https://github.com/smithay//smithay", rev = "65c4abf" }
smithay = { git = "https://github.com/smithay//smithay", rev = "f364c73" }