From 34ed6a9e11861af3cfb647a06e1fde63c1d0d569 Mon Sep 17 00:00:00 2001 From: Jake Stanger Date: Thu, 19 Oct 2023 22:43:02 +0100 Subject: [PATCH] fix(focused): not clearing when switching to empty workspace --- src/modules/focused.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/focused.rs b/src/modules/focused.rs index 167e5b27..a60c0e39 100644 --- a/src/modules/focused.rs +++ b/src/modules/focused.rs @@ -96,6 +96,8 @@ impl Module for FocusedModule { info.app_id.clone() ))) ); + } else { + send_async!(tx, ModuleUpdateEvent::Update(None)); } } ToplevelEvent::Remove(handle) => {