fix(cfg,komorebi): remove all uses of invisible borders

This makes the borders pixel-perfect, and border_overflow can be
disabled on all applications.

Unfortunately this also means we lose the corner rounding, so that may
need to be done differently or the offsets refined in some way to
address that.
This commit is contained in:
James Tucker
2024-01-04 23:08:46 -08:00
committed by جاد
parent 344e6ad2fd
commit 4affefad88
8 changed files with 30 additions and 158 deletions

View File

@@ -195,7 +195,6 @@ impl Monitor {
pub fn update_focused_workspace(
&mut self,
offset: Option<Rect>,
invisible_borders: &Rect,
) -> Result<()> {
let work_area = *self.work_area_size();
let offset = if self.work_area_offset().is_some() {
@@ -206,7 +205,7 @@ impl Monitor {
self.focused_workspace_mut()
.ok_or_else(|| anyhow!("there is no workspace"))?
.update(&work_area, offset, invisible_borders)?;
.update(&work_area, offset)?;
Ok(())
}