diff --git a/komorebi-for-mac/komorebi/src/core/mod.rs b/komorebi-for-mac/komorebi/src/core/mod.rs index 8aa5a961..661c557d 100644 --- a/komorebi-for-mac/komorebi/src/core/mod.rs +++ b/komorebi-for-mac/komorebi/src/core/mod.rs @@ -379,7 +379,7 @@ pub enum SocketMessage { SocketSchema, StaticConfigSchema, GenerateStaticConfig, - DebugWindow(u32), + DebugWindow(i64), } impl SocketMessage { diff --git a/komorebi-for-mac/komorebi/src/process_command.rs b/komorebi-for-mac/komorebi/src/process_command.rs index 404b5955..5d3605c9 100644 --- a/komorebi-for-mac/komorebi/src/process_command.rs +++ b/komorebi-for-mac/komorebi/src/process_command.rs @@ -1722,7 +1722,7 @@ impl WindowManager { if let Some(elements) = application.window_elements() { for element in elements { if let Ok(wid) = AccessibilityApi::window_id(&element) - && wid == window_id + && i64::from(wid) == window_id && let Ok(window) = Window::new(element, application.clone()) { let mut rule_debug = RuleDebug::default();