diff --git a/Cargo.lock b/Cargo.lock index 95022bb..3ec4e18 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -116,7 +116,7 @@ dependencies = [ [[package]] name = "application-launcher" -version = "0.8.2" +version = "0.9.0-beta1" dependencies = [ "gio", "iced", @@ -411,7 +411,7 @@ dependencies = [ [[package]] name = "bottom_panel" -version = "0.8.2" +version = "0.9.0-beta1" dependencies = [ "gio", "iced", @@ -790,7 +790,7 @@ dependencies = [ [[package]] name = "counter" -version = "0.8.2" +version = "0.9.0-beta1" dependencies = [ "iced", "iced_layershell", @@ -799,7 +799,7 @@ dependencies = [ [[package]] name = "counter_lock" -version = "0.8.2" +version = "0.9.0-beta1" dependencies = [ "iced", "iced_runtime", @@ -808,7 +808,7 @@ dependencies = [ [[package]] name = "counter_multi" -version = "0.8.2" +version = "0.9.0-beta1" dependencies = [ "iced", "iced_layershell", @@ -1807,7 +1807,7 @@ dependencies = [ [[package]] name = "iced_layershell" -version = "0.8.2" +version = "0.9.0-beta1" dependencies = [ "futures", "iced", @@ -1826,7 +1826,7 @@ dependencies = [ [[package]] name = "iced_layershell_macros" -version = "0.8.2" +version = "0.9.0-beta1" dependencies = [ "darling", "manyhow", @@ -1863,7 +1863,7 @@ dependencies = [ [[package]] name = "iced_sessionlock" -version = "0.8.2" +version = "0.9.0-beta1" dependencies = [ "futures", "iced", @@ -1882,7 +1882,7 @@ dependencies = [ [[package]] name = "iced_sessionlock_macros" -version = "0.8.2" +version = "0.9.0-beta1" dependencies = [ "darling", "manyhow", @@ -1910,7 +1910,7 @@ dependencies = [ [[package]] name = "iced_virtualkeyboard" -version = "0.8.2" +version = "0.9.0-beta1" dependencies = [ "iced", "iced_layershell", @@ -2128,7 +2128,7 @@ dependencies = [ [[package]] name = "layershellev" -version = "0.8.2" +version = "0.9.0-beta1" dependencies = [ "bitflags 2.6.0", "log", @@ -3487,7 +3487,7 @@ dependencies = [ [[package]] name = "sessionlockev" -version = "0.8.2" +version = "0.9.0-beta1" dependencies = [ "bitflags 2.6.0", "log", @@ -3726,7 +3726,7 @@ dependencies = [ [[package]] name = "starcolorkeyboard" -version = "0.8.2" +version = "0.9.0-beta1" dependencies = [ "bitflags 2.6.0", "cairo-rs", @@ -4267,7 +4267,7 @@ dependencies = [ [[package]] name = "waycrate_xkbkeycode" -version = "0.8.2" +version = "0.9.0-beta1" dependencies = [ "bitflags 2.6.0", "log", @@ -5071,7 +5071,7 @@ dependencies = [ [[package]] name = "zbus_invoked_widget" -version = "0.8.2" +version = "0.9.0-beta1" dependencies = [ "futures", "iced", diff --git a/Cargo.toml b/Cargo.toml index 4337556..fa2e8a3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,7 +18,7 @@ authors = [ "Aakash Sen Sharma ", ] edition = "2021" -version = "0.8.2" +version = "0.9.0-beta1" license = "MIT" repository = "https://github.com/waycrate/exwlshelleventloop" description = "Wayland extra shell lib" @@ -26,14 +26,14 @@ keywords = ["wayland", "wlroots"] readme = "README.md" [workspace.dependencies] -layershellev = { version = "0.8.2", path = "./layershellev" } -sessionlockev = { version = "0.8.2", path = "./sessionlockev" } - -iced_layershell = { version = "0.8.2", path = "./iced_layershell" } -iced_layershell_macros = { version = "0.8.2", path = "./iced_layershell_macros" } -iced_sessionlock = { version = "0.8.2", path = "./iced_sessionlock" } -iced_sessionlock_macros = { version = "0.8.2", path = "./iced_sessionlock_macros" } -waycrate_xkbkeycode = { version = "0.8.2", path = "./waycrate_xkbkeycode" } +layershellev = { version = "0.9.0-beta1", path = "./layershellev" } +sessionlockev = { version = "0.9.0-beta1", path = "./sessionlockev" } + +iced_layershell = { version = "0.9.0-beta1", path = "./iced_layershell" } +iced_layershell_macros = { version = "0.9.0-beta1", path = "./iced_layershell_macros" } +iced_sessionlock = { version = "0.9.0-beta1", path = "./iced_sessionlock" } +iced_sessionlock_macros = { version = "0.9.0-beta1", path = "./iced_sessionlock_macros" } +waycrate_xkbkeycode = { version = "0.9.0-beta1", path = "./waycrate_xkbkeycode" } tempfile = "3.13.0" thiserror = "1.0.63" diff --git a/layershellev/src/lib.rs b/layershellev/src/lib.rs index 924755f..862905c 100644 --- a/layershellev/src/lib.rs +++ b/layershellev/src/lib.rs @@ -678,12 +678,17 @@ pub struct WindowWrapper { wl_surface: WlSurface, } +/// Define the way layershell program is start #[derive(Debug, Clone, Default, PartialEq, Eq)] pub enum StartMode { + /// default is use the activated display, in layershell, the param is `None` #[default] Active, + /// be started as background program, be used with some programs like xdg-desktop-portal Background, + /// listen on the create event of display, always shown on all screens AllScreens, + /// only shown on target screen TargetScreen(String), }