From ddd6889459bccf5015cd0c9629cdf4f4ce8fb8e1 Mon Sep 17 00:00:00 2001
From: Moli <13026959681@163.com>
Date: 星期一, 04 五月 2026 11:26:25 +0800
Subject: [PATCH] 优化Win+D隐藏的问题

---
 src/Moli.Desktop/Interop/IWin32InteropService.cs |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/Moli.Desktop/Interop/IWin32InteropService.cs b/src/Moli.Desktop/Interop/IWin32InteropService.cs
index 3660f32..dc60356 100644
--- a/src/Moli.Desktop/Interop/IWin32InteropService.cs
+++ b/src/Moli.Desktop/Interop/IWin32InteropService.cs
@@ -1,5 +1,6 @@
 using System.Windows;
 using Moli.Desktop.Configuration;
+using Moli.Desktop.Layout;
 
 namespace Moli.Desktop.Interop;
 
@@ -12,6 +13,8 @@
     void SetNoActivate(IntPtr hwnd, bool enabled);
     void SetLayered(IntPtr hwnd, bool enabled, byte opacity);
     void MoveToDesktopLayer(IntPtr hwnd, DesktopLayerMode mode, MonitorInfo monitor);
+    void MoveToDesktopLayer(IntPtr hwnd, DesktopLayerMode mode, RectD bounds);
+    void RestoreTopLevelWindow(IntPtr hwnd);
     void SetBottomMost(IntPtr hwnd);
     IReadOnlyList<MonitorInfo> GetMonitors();
 }

--
Gitblit v1.9.1