From 5852890ac7c6925af4edd70398790d96f8b44284 Mon Sep 17 00:00:00 2001
From: Moli <13026959681@163.com>
Date: 星期日, 03 五月 2026 11:47:36 +0800
Subject: [PATCH] v1.0

---
 src/Moli.Desktop/Layout/Geometry.cs |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/src/Moli.Desktop/Layout/Geometry.cs b/src/Moli.Desktop/Layout/Geometry.cs
index b870b32..9890e19 100644
--- a/src/Moli.Desktop/Layout/Geometry.cs
+++ b/src/Moli.Desktop/Layout/Geometry.cs
@@ -23,6 +23,13 @@
     public override string ToString() => Value;
 }
 
+public enum DisplayPriority
+{
+    DesktopLayer,
+    IconLayer,
+    AppLayer
+}
+
 public sealed record WidgetRuntimeState
 {
     public required WidgetInstanceId InstanceId { get; init; }
@@ -33,6 +40,7 @@
     public bool IsLocked { get; init; }
     public double Opacity { get; init; } = 1;
     public bool ClickThrough { get; init; } = true;
+    public DisplayPriority DisplayPriority { get; init; } = DisplayPriority.IconLayer;
 }
 
 public sealed record WidgetLayoutPatch
@@ -44,4 +52,5 @@
     public double? Opacity { get; init; }
     public bool? ClickThrough { get; init; }
     public double? Scale { get; init; }
+    public DisplayPriority? DisplayPriority { get; init; }
 }

--
Gitblit v1.9.1