Skip to content

Commit

Permalink
wayland.shell.layer: change role static to constant
Browse files Browse the repository at this point in the history
  • Loading branch information
PolyMeilex committed Jul 31, 2021
1 parent e4c7822 commit 1c6db1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wayland/shell/wlr_layer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down

0 comments on commit 1c6db1e

Please sign in to comment.