From e4c1f0c1f757fe0a6e3fa0e78a3f7863984b9de7 Mon Sep 17 00:00:00 2001 From: Julian Orth Date: Mon, 2 Sep 2024 10:27:19 +0200 Subject: [PATCH 1/2] ei: fix region scale --- src/ei/ei_ifs/ei_device.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ei/ei_ifs/ei_device.rs b/src/ei/ei_ifs/ei_device.rs index 77553e01..f49fa97f 100644 --- a/src/ei/ei_ifs/ei_device.rs +++ b/src/ei/ei_ifs/ei_device.rs @@ -96,7 +96,7 @@ impl EiDevice { offset_y: rect.y1() as u32, width: rect.width() as u32, hight: rect.height() as u32, - scale: scale.to_f64() as f32, + scale: (1.0 / scale.to_f64()) as f32, }); } From c817367d458a0704b6ffddcda0e7a9ac600e3e99 Mon Sep 17 00:00:00 2001 From: Julian Orth Date: Mon, 2 Sep 2024 10:24:06 +0200 Subject: [PATCH 2/2] docs: prepare 1.5.0 release --- Cargo.lock | 6 +++--- Cargo.toml | 6 +++--- deploy-notes.md | 2 ++ jay-config/Cargo.toml | 2 +- release-notes.md | 2 ++ toml-config/Cargo.toml | 4 ++-- 6 files changed, 13 insertions(+), 9 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a41e86b9..0f8b870b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -549,7 +549,7 @@ dependencies = [ [[package]] name = "jay-compositor" -version = "1.4.0" +version = "1.5.0" dependencies = [ "ahash", "anyhow", @@ -593,7 +593,7 @@ dependencies = [ [[package]] name = "jay-config" -version = "1.3.0" +version = "1.4.0" dependencies = [ "backtrace", "bincode", @@ -609,7 +609,7 @@ dependencies = [ [[package]] name = "jay-toml-config" -version = "0.5.0" +version = "0.6.0" dependencies = [ "ahash", "bstr", diff --git a/Cargo.toml b/Cargo.toml index 3dfaedac..b5a399ce 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "jay-compositor" -version = "1.4.0" +version = "1.5.0" edition = "2021" build = "build/build.rs" license = "GPL-3.0-only" @@ -22,8 +22,8 @@ panic = "abort" panic = "abort" [dependencies] -jay-config = { version = "1.3.0", path = "jay-config" } -jay-toml-config = { version = "0.5.0", path = "toml-config" } +jay-config = { version = "1.4.0", path = "jay-config" } +jay-toml-config = { version = "0.6.0", path = "toml-config" } jay-algorithms = { version = "0.2.0", path = "algorithms" } uapi = "0.2.13" diff --git a/deploy-notes.md b/deploy-notes.md index e7bd84a1..ed0f7c57 100644 --- a/deploy-notes.md +++ b/deploy-notes.md @@ -1,5 +1,7 @@ # Unreleased +# 1.5.0 + - Needs jay-config release. - Needs jay-toml-config release. - Needs jay-compositor release. diff --git a/jay-config/Cargo.toml b/jay-config/Cargo.toml index a6d99a36..3245945e 100644 --- a/jay-config/Cargo.toml +++ b/jay-config/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "jay-config" -version = "1.3.0" +version = "1.4.0" edition = "2021" license = "GPL-3.0-only" description = "Configuration crate for the Jay compositor" diff --git a/release-notes.md b/release-notes.md index ec48660a..04fbaf3f 100644 --- a/release-notes.md +++ b/release-notes.md @@ -1,5 +1,7 @@ # Unreleased +# 1.5.0 (2024-09-02) + - Add fine-grained damage tracking. - Add support for adaptive sync. - Add support for tearing. diff --git a/toml-config/Cargo.toml b/toml-config/Cargo.toml index 9eaedebf..6f1800bc 100644 --- a/toml-config/Cargo.toml +++ b/toml-config/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "jay-toml-config" -version = "0.5.0" +version = "0.6.0" edition = "2021" license = "GPL-3.0-only" description = "Internal dependency of the Jay compositor" @@ -10,7 +10,7 @@ repository = "https://github.com/mahkoh/jay" crate-type = ["lib", "cdylib"] [dependencies] -jay-config = { version = "1.3.0", path = "../jay-config" } +jay-config = { version = "1.4.0", path = "../jay-config" } log = "0.4.14" thiserror = "1.0.57" error_reporter = "1.0.0"