GlazeWM is a tiling window manager for macOS and Windows inspired by i3wm.
feat: events/commands inherit from Event/Command class
Larse8caf1023e48
diff --git a/LarsWM.Core/Monitors/Commands/AddMonitorCommand.cs b/LarsWM.Core/Monitors/Commands/AddMonitorCommand.csindex c78e6833..b1aeb537 100644--- a/LarsWM.Core/Monitors/Commands/AddMonitorCommand.cs+++ b/LarsWM.Core/Monitors/Commands/AddMonitorCommand.cs@@ -6,7 +6,7 @@ using System.Windows.Forms;namespace LarsWM.Core.Monitors.Commands{- class AddMonitorCommand : ICommand<Monitor>+ class AddMonitorCommand : Command{public Screen Screen { get; set; }diff --git a/LarsWM.Core/Monitors/Events/MonitorAddedEvent.cs b/LarsWM.Core/Monitors/Events/MonitorAddedEvent.csindex bfbad315..e76d890d 100644--- a/LarsWM.Core/Monitors/Events/MonitorAddedEvent.cs+++ b/LarsWM.Core/Monitors/Events/MonitorAddedEvent.cs@@ -5,7 +5,7 @@ using System.Text;namespace LarsWM.Core.Monitors.Events{- class MonitorAddedEvent : IEvent+ class MonitorAddedEvent : Event{}}diff --git a/LarsWM.Core/Monitors/Events/NewMonitorDetectedEvent.cs b/LarsWM.Core/Monitors/Events/NewMonitorDetectedEvent.csindex 61542645..c4792e2d 100644--- a/LarsWM.Core/Monitors/Events/NewMonitorDetectedEvent.cs+++ b/LarsWM.Core/Monitors/Events/NewMonitorDetectedEvent.cs@@ -5,7 +5,7 @@ using System.Text;namespace LarsWM.Core.Monitors.Events{- class NewMonitorDetectedEvent : IEvent+ class NewMonitorDetectedEvent : Event{}}diff --git a/LarsWM.Core/UserConfigs/Commands/GetUserConfigCommand.cs b/LarsWM.Core/UserConfigs/Commands/GetUserConfigCommand.csindex 039f2664..12d13d4f 100644--- a/LarsWM.Core/UserConfigs/Commands/GetUserConfigCommand.cs+++ b/LarsWM.Core/UserConfigs/Commands/GetUserConfigCommand.cs@@ -5,7 +5,7 @@ using System.Text;namespace LarsWM.Core.UserConfig.Commands{- public class GetUserConfigCommand : ICommand<string>+ public class GetUserConfigCommand : Command{}}