From 1c6db1e7eed284f85aa192e811b98ef553187c85 Mon Sep 17 00:00:00 2001 From: Poly Date: Sat, 31 Jul 2021 05:54:08 +0200 Subject: [PATCH] wayland.shell.layer: change role static to constant --- src/wayland/shell/wlr_layer/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wayland/shell/wlr_layer/mod.rs b/src/wayland/shell/wlr_layer/mod.rs index f012dbd..6ac7a30 100644 --- a/src/wayland/shell/wlr_layer/mod.rs +++ b/src/wayland/shell/wlr_layer/mod.rs @@ -51,7 +51,7 @@ mod types; pub use types::{Anchor, ExclusiveZone, KeyboardInteractivity, Layer, Margins}; /// 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 #[derive(Debug)]