Skip to content

GlazeWM is a tiling window manager for macOS and Windows inspired by i3wm.

fix(domain): add correct targeting for Electron windows in resize border rule

Lars Berger603617b9b5ce
diff --git a/GlazeWM.Domain/UserConfigs/UserConfigService.cs b/GlazeWM.Domain/UserConfigs/UserConfigService.cs
index 767575df..9cc52a90 100644
--- a/GlazeWM.Domain/UserConfigs/UserConfigService.cs
+++ b/GlazeWM.Domain/UserConfigs/UserConfigService.cs
@@ -113,7 +113,7 @@ namespace GlazeWM.Domain.UserConfigs
var resizeElectronBorderWindowRule = new WindowRuleConfig()
{
MatchProcessName = $"/^(?!({string.Join("|", chromiumBrowserProcessNames)})$)/",
- MatchClassName = "Chrome_WidgetWin_1",
+ MatchClassName = "/Chrome_WidgetWin_*/",
Command = "resize borders 0px -7px -7px -7px",
};