diff --git a/wayland-protocols/protocols b/wayland-protocols/protocols index 9ac1a0977e..6bcf87d9c1 160000 --- a/wayland-protocols/protocols +++ b/wayland-protocols/protocols @@ -1 +1 @@ -Subproject commit 9ac1a0977eea1b2f525e375089131f7d696a74ee +Subproject commit 6bcf87d9c17a36bb56943efeb4cbb851bd3734b8 diff --git a/wayland-protocols/src/ext.rs b/wayland-protocols/src/ext.rs index 988ad78ec3..e26b46b94e 100644 --- a/wayland-protocols/src/ext.rs +++ b/wayland-protocols/src/ext.rs @@ -122,3 +122,31 @@ pub mod image_copy_capture { ); } } + +#[cfg(feature = "staging")] +pub mod data_control { + //! This protocol allows a privileged client to control data devices. In + //! particular, the client will be able to manage the current selection and take + //! the role of a clipboard manager. + + #[allow(missing_docs)] + pub mod v1 { + wayland_protocol!( + "./protocols/staging/ext-data-control/ext-data-control-v1.xml", + [] + ); + } +} + +#[cfg(feature = "staging")] +pub mod workspace { + //! List and control workspaces + + #[allow(missing_docs)] + pub mod v1 { + wayland_protocol!( + "./protocols/staging/ext-workspace/ext-workspace-v1.xml", + [] + ); + } +}