diff --git a/layershellev/examples/simplelayer.rs b/layershellev/examples/simplelayer.rs index 341f644..c024733 100644 --- a/layershellev/examples/simplelayer.rs +++ b/layershellev/examples/simplelayer.rs @@ -7,7 +7,7 @@ use layershellev::*; fn main() { let ev: WindowState<()> = WindowState::new("Hello") - .with_allscreen() + .with_allscreens() .with_size((0, 400)) .with_layer(Layer::Top) .with_margin((20, 20, 100, 20)) diff --git a/layershellev/src/lib.rs b/layershellev/src/lib.rs index c9e746c..b3d73a6 100644 --- a/layershellev/src/lib.rs +++ b/layershellev/src/lib.rs @@ -12,7 +12,7 @@ //! //! fn main() { //! let mut ev: WindowState<()> = WindowState::new("Hello") -//! .with_allscreen() +//! .with_allscreens() //! .with_size((0, 400)) //! .with_layer(Layer::Top) //! .with_margin((20, 20, 100, 20)) @@ -806,10 +806,10 @@ impl WindowState { } } - pub fn with_allscreen_or_xdg_output_name(self, binded_output_name: Option) -> Self { + pub fn with_allscreens_or_xdg_output_name(self, binded_output_name: Option) -> Self { match binded_output_name { Some(binded_output_name) => self.with_xdg_output_name(binded_output_name), - None => self.with_allscreen(), + None => self.with_allscreens(), } } pub fn with_xdg_output_name_or_not(self, binded_output_name: Option) -> Self { @@ -819,7 +819,7 @@ impl WindowState { self.with_xdg_output_name(binded_output_name) } - pub fn with_allscreen_or_active(mut self, allscreen: bool) -> Self { + pub fn with_allscreens_or_active(mut self, allscreen: bool) -> Self { if allscreen { self.start_mode = StartMode::AllScreens; } else { @@ -828,7 +828,7 @@ impl WindowState { self } - pub fn with_allscreen(mut self) -> Self { + pub fn with_allscreens(mut self) -> Self { self.start_mode = StartMode::AllScreens; self } diff --git a/starcolorkeyboard/src/main.rs b/starcolorkeyboard/src/main.rs index c5939ae..53afe13 100644 --- a/starcolorkeyboard/src/main.rs +++ b/starcolorkeyboard/src/main.rs @@ -82,7 +82,7 @@ pub fn get_keymap_as_file() -> (File, u32) { fn main() { let ev: WindowState = WindowState::new("precure") - .with_allscreen() + .with_allscreens() .with_size((0, 300)) .with_layer(Layer::Top) .with_anchor(Anchor::Bottom | Anchor::Left | Anchor::Right)