GlazeWM is a tiling window manager for macOS and Windows inspired by i3wm.
fix: invalid reference after ignore window rule (#189)
lars-berger4e19f0ca9408
diff --git a/GlazeWM.Domain/Windows/CommandHandlers/RunWindowRulesHandler.cs b/GlazeWM.Domain/Windows/CommandHandlers/RunWindowRulesHandler.csindex 8e7bbdf2..a48916ac 100644--- a/GlazeWM.Domain/Windows/CommandHandlers/RunWindowRulesHandler.cs+++ b/GlazeWM.Domain/Windows/CommandHandlers/RunWindowRulesHandler.cs@@ -36,7 +36,8 @@ namespace GlazeWM.Domain.Windows.CommandHandlersforeach (var commandString in commandStrings){- if (subjectWindow.IsDetached())+ // Subject window might be null if "ignore" rule has run.+ if (subjectWindow?.IsDetached() != false)return CommandResponse.Ok;var parsedCommand = _commandParsingService.ParseCommand(commandString, subjectWindow);