GlazeWM is a tiling window manager for macOS and Windows inspired by i3wm.
feat: add WindowsForms to project to make use to native Windows APIs
Lars8aece6a0db09
diff --git a/LarsWM.sln b/LarsWM.slnindex cc5faa52..6bb5433b 100644--- a/LarsWM.sln+++ b/LarsWM.sln@@ -1,25 +1,25 @@--Microsoft Visual Studio Solution File, Format Version 12.00-# Visual Studio Version 16-VisualStudioVersion = 16.0.29613.14-MinimumVisualStudioVersion = 10.0.40219.1-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LarsWM", "LarsWM\LarsWM.csproj", "{D7741551-9A1D-4357-9571-991C6FDB1906}"-EndProject-Global- GlobalSection(SolutionConfigurationPlatforms) = preSolution- Debug|Any CPU = Debug|Any CPU- Release|Any CPU = Release|Any CPU- EndGlobalSection- GlobalSection(ProjectConfigurationPlatforms) = postSolution- {D7741551-9A1D-4357-9571-991C6FDB1906}.Debug|Any CPU.ActiveCfg = Debug|Any CPU- {D7741551-9A1D-4357-9571-991C6FDB1906}.Debug|Any CPU.Build.0 = Debug|Any CPU- {D7741551-9A1D-4357-9571-991C6FDB1906}.Release|Any CPU.ActiveCfg = Release|Any CPU- {D7741551-9A1D-4357-9571-991C6FDB1906}.Release|Any CPU.Build.0 = Release|Any CPU- EndGlobalSection- GlobalSection(SolutionProperties) = preSolution- HideSolutionNode = FALSE- EndGlobalSection- GlobalSection(ExtensibilityGlobals) = postSolution- SolutionGuid = {90AFACCD-B199-4A1E-B14E-5DA783E09D17}- EndGlobalSection-EndGlobal++Microsoft Visual Studio Solution File, Format Version 12.00+# Visual Studio Version 16+VisualStudioVersion = 16.0.29613.14+MinimumVisualStudioVersion = 10.0.40219.1+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LarsWM", "LarsWM\LarsWM.csproj", "{D7741551-9A1D-4357-9571-991C6FDB1906}"+EndProject+Global+ GlobalSection(SolutionConfigurationPlatforms) = preSolution+ Debug|Any CPU = Debug|Any CPU+ Release|Any CPU = Release|Any CPU+ EndGlobalSection+ GlobalSection(ProjectConfigurationPlatforms) = postSolution+ {D7741551-9A1D-4357-9571-991C6FDB1906}.Debug|Any CPU.ActiveCfg = Debug|Any CPU+ {D7741551-9A1D-4357-9571-991C6FDB1906}.Debug|Any CPU.Build.0 = Debug|Any CPU+ {D7741551-9A1D-4357-9571-991C6FDB1906}.Release|Any CPU.ActiveCfg = Release|Any CPU+ {D7741551-9A1D-4357-9571-991C6FDB1906}.Release|Any CPU.Build.0 = Release|Any CPU+ EndGlobalSection+ GlobalSection(SolutionProperties) = preSolution+ HideSolutionNode = FALSE+ EndGlobalSection+ GlobalSection(ExtensibilityGlobals) = postSolution+ SolutionGuid = {90AFACCD-B199-4A1E-B14E-5DA783E09D17}+ EndGlobalSection+EndGlobaldiff --git a/LarsWM/LarsWM.csproj b/LarsWM/LarsWM.csprojindex c73e0d16..7d6c6af6 100644--- a/LarsWM/LarsWM.csproj+++ b/LarsWM/LarsWM.csproj@@ -1,8 +1,11 @@-<Project Sdk="Microsoft.NET.Sdk">-- <PropertyGroup>- <OutputType>Exe</OutputType>- <TargetFramework>netcoreapp3.1</TargetFramework>- </PropertyGroup>--</Project>+<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">++ <PropertyGroup>+ <OutputType>Exe</OutputType>+ <TargetFramework>netcoreapp3.1</TargetFramework>+ <UseWindowsForms>true</UseWindowsForms>+ <ApplicationIcon />+ <StartupObject />+ </PropertyGroup>++</Project>diff --git a/LarsWM/Program.cs b/LarsWM/Program.csindex 60228c97..97a35dc0 100644--- a/LarsWM/Program.cs+++ b/LarsWM/Program.cs@@ -1,16 +1,20 @@-using System;-using System.Diagnostics;-using System.Runtime.InteropServices;--namespace LarsWM-{- class Program- {-- static void Main(string[] args)- {-- // Create a workspace and assign a workspace to each connected display- }- }-}+using System;+using System.Diagnostics;+using System.Runtime.InteropServices;+using System.Windows.Forms;++namespace LarsWM+{+ class Program+ {+ /// <summary>+ /// The main entry point for the application.+ /// </summary>+ [STAThread]+ static void Main()+ {+ Application.Run();+ // TODO: Create a workspace and assign a workspace to each connected display+ }+ }+}