From aaeb7bfcfbc37b4448f836916a558f7f64de99b2 Mon Sep 17 00:00:00 2001 From: Marius Pardo Date: Tue, 30 Dec 2025 12:32:55 +0100 Subject: [PATCH 1/2] fixes #62 --- src/scroll_tiler.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scroll_tiler.rs b/src/scroll_tiler.rs index 9399a8c..4b646e6 100644 --- a/src/scroll_tiler.rs +++ b/src/scroll_tiler.rs @@ -153,7 +153,7 @@ impl ScrollTiler { pub fn set_current_window_halfscreen(&mut self) { if let Some(focus_index) = self.focus_index() { let screen_width = self.screen_size.width(); - self.windows[focus_index].width = self.padding.mul_add(-2.0, screen_width / 2.0); + self.windows[focus_index].request_width(self.padding.mul_add(-2.0, screen_width / 2.0)); } } From c41acb8375d248d936811b76d54e09757ae16647 Mon Sep 17 00:00:00 2001 From: Marius Pardo Date: Tue, 30 Dec 2025 12:35:42 +0100 Subject: [PATCH 2/2] release 0.3.2 --- Cargo.lock | 2 +- Cargo.toml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b727c50..7ab2c4f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3668,7 +3668,7 @@ dependencies = [ [[package]] name = "winri" -version = "0.3.1" +version = "0.3.2" dependencies = [ "anyhow", "dirs", diff --git a/Cargo.toml b/Cargo.toml index ed587b7..6ac98e5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,13 +1,13 @@ [package] name = "winri" description = "A window scrolling tiler for Windows 11" -version = "0.3.1" +version = "0.3.2" edition = "2024" license = "MIT" [dependencies] anyhow = "1" -windows-strings = "0" +windows-strings = "0.5" log = "0" log4rs = "1.4" rdev = { version = "0", features = ["unstable_grab"] }