Use libcosmic for x and wayland modules

This commit is contained in:
Ian Douglas Scott 2022-01-05 13:30:45 -08:00 committed by Ian Douglas Scott
parent 03999f24a7
commit 8b5e1a7f12
7 changed files with 1098 additions and 1074 deletions

View file

@ -13,12 +13,11 @@ gdk4-x11 = "0.3"
gdk4-wayland = { version = "0.3", optional = true }
gtk4 = "0.3"
gobject-sys = "0.14.0"
libcosmic = { git = "https://github.com/pop-os/libcosmic" }
once_cell = "1"
toml = "0.5"
wayland-client = { version = "0.28", optional = true }
wayland-protocols = { version = "0.28", features = [ "client", "unstable_protocols" ], optional = true }
x11 = { version = "2", features = ["xlib"] }
zbus = "1"
[features]
layer-shell = ["gdk4-wayland", "wayland-client", "wayland-protocols"]
layer-shell = ["gdk4-wayland", "libcosmic/layer-shell"]