From ea04a62bb55d3365f6d49ce65dc421f1b4ea89a3 Mon Sep 17 00:00:00 2001 From: Csaba Date: Thu, 23 May 2024 07:22:34 +0200 Subject: [PATCH] komorebi v0.1.26 --- .../src/providers/komorebi/create-komorebi-provider.ts | 1 + packages/desktop/Cargo.toml | 2 +- packages/desktop/src/providers/komorebi/provider.rs | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/client-api/src/providers/komorebi/create-komorebi-provider.ts b/packages/client-api/src/providers/komorebi/create-komorebi-provider.ts index 4d4c8bbf..b17b67ec 100644 --- a/packages/client-api/src/providers/komorebi/create-komorebi-provider.ts +++ b/packages/client-api/src/providers/komorebi/create-komorebi-provider.ts @@ -99,6 +99,7 @@ export type KomorebiLayout = | 'ultrawide_vertical_stack' | 'rows' | 'grid' + | 'right_main_vertical_stack' | 'custom'; export type KomorebiLayoutFlip = diff --git a/packages/desktop/Cargo.toml b/packages/desktop/Cargo.toml index 6eda7f2c..5d8547bc 100644 --- a/packages/desktop/Cargo.toml +++ b/packages/desktop/Cargo.toml @@ -33,7 +33,7 @@ netdev = "0.24" regex = "1" [target.'cfg(all(target_os = "windows", target_arch = "x86_64"))'.dependencies] -komorebi-client = { git = "https://github.com/LGUG2Z/komorebi", tag = "v0.1.25" } +komorebi-client = { git = "https://github.com/LGUG2Z/komorebi", tag = "v0.1.26" } [target.'cfg(target_os = "macos")'.dependencies] cocoa = "0.25" diff --git a/packages/desktop/src/providers/komorebi/provider.rs b/packages/desktop/src/providers/komorebi/provider.rs index 0ee2ffeb..b3126d16 100644 --- a/packages/desktop/src/providers/komorebi/provider.rs +++ b/packages/desktop/src/providers/komorebi/provider.rs @@ -59,7 +59,7 @@ impl KomorebiProvider { KomorebiMonitor { id: monitor.id(), name: monitor.name().to_string(), - device_id: monitor.device_id().clone(), + device_id: Some(monitor.device_id().clone()), focused_workspace_index: monitor.focused_workspace_idx(), size: *monitor.size(), work_area_size: *monitor.work_area_size(),