mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-03-21 17:09:20 +01:00
fix(wm): correct border overflow handling logic
This commit fixes a regression introduced in the regex rule matching refactor. Invisible borders should be removed from applications that are not identified as border overflow applications, not vice versa. This is because applications that are overflowing their borders effectively erase the invisible borders, while applications that are not overflowing their borders leave the system's invisible borders visibility intact. It is this latter group that we should be targeting with the should_remove_border variable.
This commit is contained in:
@@ -138,7 +138,7 @@ impl Window {
|
||||
let class = &self.class()?;
|
||||
let exe_name = &self.exe()?;
|
||||
|
||||
let should_remove_border = should_act(
|
||||
let should_remove_border = !should_act(
|
||||
title,
|
||||
exe_name,
|
||||
class,
|
||||
|
||||
Reference in New Issue
Block a user