Fix building with layer-shell feature

This commit is contained in:
Ian Douglas Scott 2022-01-24 12:31:45 -08:00
parent 08e70faffd
commit b606ed6a9b

View file

@ -5,6 +5,7 @@ edition = "2021"
[dependencies]
cascade = "1.0.0"
derivative = { version = "2", optional = true }
gtk4 = { version = "0.4.4", features = ["v4_4"] }
gdk4 = "0.4.4"
gdk4-wayland = { version = "0.4.2", features = [ "wayland_crate" ], optional = true }
@ -17,4 +18,4 @@ x11 = { version = "2.19.1", features = ["xlib"] }
once_cell = "1.9.0"
[features]
layer-shell = ["gdk4-wayland", "wayland-client", "wayland-protocols"]
layer-shell = ["derivative", "gdk4-wayland", "wayland-client", "wayland-protocols"]