mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-04-24 09:38:32 +02:00
feat(config): update border opts, add deprecations
This commit includes backwards-compatible renames of active_window_border_offset and active_window_border_width to border_offset and border_width respectively. Since the invisible window border adjustments were removed in #678, the invisible window borders set by the OS can now also be adjusted via border_offset and border_width, which is the primary reason for the rename. invisible_borders has been marked as deprecated and the previously deprecated alt_focus_hack option has been removed.
This commit is contained in:
@@ -192,10 +192,7 @@ impl Monitor {
|
||||
self.workspaces().len()
|
||||
}
|
||||
|
||||
pub fn update_focused_workspace(
|
||||
&mut self,
|
||||
offset: Option<Rect>,
|
||||
) -> Result<()> {
|
||||
pub fn update_focused_workspace(&mut self, offset: Option<Rect>) -> Result<()> {
|
||||
let work_area = *self.work_area_size();
|
||||
let offset = if self.work_area_offset().is_some() {
|
||||
self.work_area_offset()
|
||||
|
||||
Reference in New Issue
Block a user