GlazeWM is a tiling window manager for macOS and Windows inspired by i3wm.
feat(boot): set process DPI awareness to `PerMonitorAwareV2`
Lars Berger433ac7de6d8b
diff --git a/LarsWM.Bootstrapper/Program.cs b/LarsWM.Bootstrapper/Program.csindex 2d8fd8b1..4203c9d5 100644--- a/LarsWM.Bootstrapper/Program.cs+++ b/LarsWM.Bootstrapper/Program.cs@@ -4,6 +4,7 @@ using LarsWM.Infrastructure;using Microsoft.Extensions.DependencyInjection;using System;using System.Diagnostics;+using static LarsWM.Infrastructure.WindowsApi.WindowsApiService;namespace LarsWM.Bootstrapper{@@ -17,6 +18,9 @@ namespace LarsWM.Bootstrapper{Debug.WriteLine("Application started");+ // Set the process-default DPI awareness.+ SetProcessDpiAwarenessContext(DpiAwarenessContext.Context_PerMonitorAwareV2);+var serviceCollection = new ServiceCollection();serviceCollection.AddInfrastructureServices();serviceCollection.AddDomainServices();