GlazeWM is a tiling window manager for macOS and Windows inspired by i3wm.
feat: added getters & setters in AppState
Larsbc6ae74631b3
diff --git a/LarsWM.Core/AppState.cs b/LarsWM.Core/AppState.csindex 400ffddd..a104e492 100644--- a/LarsWM.Core/AppState.cs+++ b/LarsWM.Core/AppState.cs@@ -1,17 +1,17 @@-using System;-using System.Collections.Generic;-using System.Linq;-using System.Text;--namespace LarsWM.Core-{- public class AppState- {- // Not sure whether these should be BehaviorSubjects.- public List<Monitor> Monitors = new List<Monitor>();- public List<Workspace> Workspaces = new List<Workspace>();- public List<Window> Windows = new List<Window>();-- // Create method InitialiseState that invokes AddMonitorCommand etc?- }-}+using System;+using System.Collections.Generic;+using System.Linq;+using System.Text;++namespace LarsWM.Core+{+ public class AppState+ {+ // Not sure whether these should be BehaviorSubjects.+ public List<Monitor> Monitors { get; set; } = new List<Monitor>();+ public List<Workspace> Workspaces { get; set; } = new List<Workspace>();+ public List<Window> Windows { get; set; } = new List<Window>();++ // TODO: Create method InitialiseState that invokes AddMonitorCommand etc?+ }+}