From 574a6a769115034f37bdecf3284545d74843816a Mon Sep 17 00:00:00 2001
From: chunhualin1 <chunhualin1@lenovo.com>
Date: 星期三, 12 八月 2026 15:21:41 +0800
Subject: [PATCH] 添加显示器切换兼容处理
---
src/Moli.Desktop/Interop/IWin32InteropService.cs | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/Moli.Desktop/Interop/IWin32InteropService.cs b/src/Moli.Desktop/Interop/IWin32InteropService.cs
index dc60356..0a44f7c 100644
--- a/src/Moli.Desktop/Interop/IWin32InteropService.cs
+++ b/src/Moli.Desktop/Interop/IWin32InteropService.cs
@@ -11,9 +11,8 @@
void SetClickThrough(IntPtr hwnd, bool enabled);
void SetToolWindow(IntPtr hwnd, bool enabled);
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 SetLayered(IntPtr hwnd, bool enabled);
+ void MoveToDesktopLayer(IntPtr hwnd, DesktopLayerMode mode, MonitorInfo monitor, RectD bounds);
void RestoreTopLevelWindow(IntPtr hwnd);
void SetBottomMost(IntPtr hwnd);
IReadOnlyList<MonitorInfo> GetMonitors();
--
Gitblit v1.9.1