From baf341c4776829a6d1f4c64ab55915ffc30cf3b5 Mon Sep 17 00:00:00 2001 From: tea Date: Mon, 27 Jul 2026 17:49:55 +0200 Subject: [PATCH] feat: update for wayfire 0.11.0 --- src/ipc.rs | 8 ++++---- src/models.rs | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/ipc.rs b/src/ipc.rs index 192f6cf..c683661 100644 --- a/src/ipc.rs +++ b/src/ipc.rs @@ -516,10 +516,10 @@ impl WayfireSocket { pub async fn configure_view( &mut self, view_id: i64, - x: i64, - y: i64, - w: i64, - h: i64, + x: f64, + y: f64, + w: f64, + h: f64, output_id: Option, ) -> io::Result { let mut data = serde_json::json!({ diff --git a/src/models.rs b/src/models.rs index 329bb34..88272dd 100644 --- a/src/models.rs +++ b/src/models.rs @@ -98,10 +98,10 @@ pub struct Layout { #[derive(Serialize, Deserialize, Debug)] pub struct Geometry { - pub height: i64, - pub width: i64, - pub x: i64, - pub y: i64, + pub height: f64, + pub width: f64, + pub x: f64, + pub y: f64, } #[derive(Serialize, Deserialize, Debug)]