From 4dfab7d65f001834ca0e0263e4e10bc3a2237e43 Mon Sep 17 00:00:00 2001 From: LGUG2Z Date: Wed, 10 Aug 2022 22:29:49 -0700 Subject: [PATCH] fix(wm): disable active border alongside tiling This commit ensures that when the workspace-tiling command is called to disable tiling for a workspace, that the border is also disabled for the duration that tiling is diabled. This was previously only implemented for the toggle-tiling command. --- README.md | 1 - komorebi/src/process_command.rs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 65e93c93..df98ed2c 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,6 @@ Tiling Window Management for Windows. ## About - _komorebi_ is a tiling window manager that works as an extension to Microsoft's [Desktop Window Manager](https://docs.microsoft.com/en-us/windows/win32/dwm/dwm-overview) in Windows 10 and above. diff --git a/komorebi/src/process_command.rs b/komorebi/src/process_command.rs index 3c348633..cc67ce4e 100644 --- a/komorebi/src/process_command.rs +++ b/komorebi/src/process_command.rs @@ -808,7 +808,7 @@ impl WindowManager { focused.focus(false)?; } } - SocketMessage::ToggleTiling => { + SocketMessage::ToggleTiling | SocketMessage::WorkspaceTiling(..) => { let tiling_enabled = *self.focused_workspace_mut()?.tile(); let border = Border::from(BORDER_HWND.load(Ordering::SeqCst));