wayland.shell.layer: change role static to constant

This commit is contained in:
Poly 2021-07-31 05:54:08 +02:00
parent e4c7822476
commit 1c6db1e7ee
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ mod types;
pub use types::{Anchor, ExclusiveZone, KeyboardInteractivity, Layer, Margins}; pub use types::{Anchor, ExclusiveZone, KeyboardInteractivity, Layer, Margins};
/// The role of a wlr_layer_shell_surface /// The role of a wlr_layer_shell_surface
pub static LAYER_SURFACE_ROLE: &str = "zwlr_layer_surface_v1"; pub const LAYER_SURFACE_ROLE: &str = "zwlr_layer_surface_v1";
/// Attributes for layer surface /// Attributes for layer surface
#[derive(Debug)] #[derive(Debug)]