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:
LGUG2Z
2023-11-03 09:23:09 -07:00
parent e9fb9297e9
commit f659deb5e3

View File

@@ -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,