From 13c08ca31ee1ccbbeceb8962d739a077048d59ac Mon Sep 17 00:00:00 2001 From: MaxVerevkin Date: Thu, 1 Jun 2023 16:32:34 +0300 Subject: pub hyprland support behind feature flag --- src/protocol.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/protocol.rs') diff --git a/src/protocol.rs b/src/protocol.rs index c393850..d14d92a 100644 --- a/src/protocol.rs +++ b/src/protocol.rs @@ -4,4 +4,6 @@ pub use wayrs_protocols::viewporter::*; pub use wayrs_protocols::wlr_layer_shell_unstable_v1::*; wayrs_client::scanner::generate!("protocols/river-status-unstable-v1.xml"); wayrs_client::scanner::generate!("protocols/river-control-unstable-v1.xml"); + +#[cfg(feature = "hyprland")] wayrs_client::scanner::generate!("protocols/ext-workspace-unstable-v1.xml"); -- cgit v1.3.1