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.Tests/Runtime/DesktopRuntimeCoordinatorTests.cs | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/src/Moli.Desktop.Tests/Runtime/DesktopRuntimeCoordinatorTests.cs b/src/Moli.Desktop.Tests/Runtime/DesktopRuntimeCoordinatorTests.cs
index 7edad8b..3b3ebde 100644
--- a/src/Moli.Desktop.Tests/Runtime/DesktopRuntimeCoordinatorTests.cs
+++ b/src/Moli.Desktop.Tests/Runtime/DesktopRuntimeCoordinatorTests.cs
@@ -169,7 +169,8 @@
new FakeWin32InteropService(),
diagnostics,
events,
- surface);
+ surface,
+ new DisplayChangeMonitor());
return new RuntimeFixture(runtime, configuration, events, surface, widgetId);
}
@@ -237,5 +238,11 @@
public Task DisableWallpaperAsync(CancellationToken cancellationToken = default) => Task.CompletedTask;
public Task ShutdownAsync(CancellationToken cancellationToken = default) => Task.CompletedTask;
+
+ public Task SyncAllLayoutsAsync(CancellationToken cancellationToken = default) => Task.CompletedTask;
+
+ public Task SyncWallpaperMonitorsAsync(CancellationToken cancellationToken = default) => Task.CompletedTask;
+
+ public Task ReattachDesktopLayersAsync(CancellationToken cancellationToken = default) => Task.CompletedTask;
}
}
--
Gitblit v1.9.1