Skip to content

Commit

Permalink
BREAKING CHANGE: adjust code style
Browse files Browse the repository at this point in the history
less same code

sessionlockev do not use &mut self anymore
  • Loading branch information
Decodetalkers committed Aug 4, 2024
1 parent f29bab8 commit 5e4b874
Show file tree
Hide file tree
Showing 5 changed files with 90 additions and 423 deletions.
20 changes: 10 additions & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,20 @@ authors = [
"Aakash Sen Sharma <[email protected]>",
]
edition = "2021"
version = "0.3.0"
version = "0.4.0-dev"
license = "MIT"
repository = "https://github.com/waycrate/exwlshelleventloop"
description = "Wayland extra shell lib"
keywords = ["wayland", "wlroots"]
readme = "README.md"

[workspace.dependencies]
layershellev = { version = "0.3.0", path = "./layershellev" }
sessionlockev = { version = "0.3.0", path = "./sessionlockev" }
layershellev = { version = "0.4.0-dev", path = "./layershellev" }
sessionlockev = { version = "0.4.0-dev", path = "./sessionlockev" }

iced_layershell = { version = "0.3.0", path = "./iced_layershell" }
iced_sessionlock = { version = "0.3.0", path = "./iced_sessionlock" }
waycrate_xkbkeycode = { version = "0.3.0", path = "./waycrate_xkbkeycode" }
iced_layershell = { version = "0.4.0-dev", path = "./iced_layershell" }
iced_sessionlock = { version = "0.4.0-dev", path = "./iced_sessionlock" }
waycrate_xkbkeycode = { version = "0.4.0-dev", path = "./waycrate_xkbkeycode" }

tempfile = "3.10.1"
thiserror = "1.0.63"
Expand Down
2 changes: 1 addition & 1 deletion iced_sessionlock/src/multi_window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ where
runtime.enter(|| A::new(flags))
};

let mut ev: WindowState<()> = sessionlockev::WindowState::new()
let ev: WindowState<()> = sessionlockev::WindowState::new()
.with_use_display_handle(true)
.build()
.unwrap();
Expand Down
Loading

0 comments on commit 5e4b874

Please sign in to comment.