Skip to content

GlazeWM is a tiling window manager for macOS and Windows inspired by i3wm.

refactor(infra,core): moved WindowsApiFacade back to Core project

Larsa8a539c3bf71
diff --git a/LarsWM.Infrastructure/WindowsApi/WindowsApiFacade.cs b/LarsWM.Core/Common/Services/WindowsApiFacade.cs
similarity index 97%
rename from LarsWM.Infrastructure/WindowsApi/WindowsApiFacade.cs
rename to LarsWM.Core/Common/Services/WindowsApiFacade.cs
index 9354d92f..4ca3d0e0 100644
--- a/LarsWM.Infrastructure/WindowsApi/WindowsApiFacade.cs
+++ b/LarsWM.Core/Common/Services/WindowsApiFacade.cs
@@ -1,12 +1,14 @@
-using System;
+using LarsWM.Core.Windows;
+using LarsWM.Infrastructure.WindowsApi;
+using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
-using System.Text;
using System.Runtime.InteropServices;
-using static LarsWM.Infrastructure.WindowsApi.WindowsApiService;
+using System.Text;
+using static LarsWM.Infrastructure.WindowsApi.WindowsApiService;
-namespace LarsWM.Infrastructure.WindowsApi
+namespace LarsWM.Core.Common.Services
{
class WindowsApiFacade
{
diff --git a/LarsWM.Infrastructure/WindowsApi/WindowsApiService.cs b/LarsWM.Infrastructure/WindowsApi/WindowsApiService.cs
index 90492e8a..522d27bc 100644
--- a/LarsWM.Infrastructure/WindowsApi/WindowsApiService.cs
+++ b/LarsWM.Infrastructure/WindowsApi/WindowsApiService.cs
@@ -5,7 +5,7 @@ using System.Windows.Forms;
namespace LarsWM.Infrastructure.WindowsApi
{
- class WindowsApiService
+ public class WindowsApiService
{
public enum SWP : uint
{