Skip to content

Commit ed5e992

Browse files
PolyMeilexids1024
authored andcommitted
wayland-protocols: Add alpha_modifier protocol
1 parent 76d0950 commit ed5e992

File tree

1 file changed

+15
-0
lines changed
  • wayland-protocols/src

1 file changed

+15
-0
lines changed

wayland-protocols/src/wp.rs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -496,3 +496,18 @@ pub mod security_context {
496496
);
497497
}
498498
}
499+
500+
#[cfg(feature = "staging")]
501+
pub mod alpha_modifier {
502+
//! This interface allows a client to set a factor for the alpha values on a
503+
//! surface, which can be used to offload such operations to the compositor,
504+
//! which can in turn for example offload them to KMS.
505+
506+
#[allow(missing_docs)]
507+
pub mod v1 {
508+
wayland_protocol!(
509+
"./protocols/staging/alpha-modifier/alpha-modifier-v1.xml",
510+
[]
511+
);
512+
}
513+
}

0 commit comments

Comments
 (0)