mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-05-03 09:24:20 +02:00
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.
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user