From 6c75c51e0105fcf07f43241f70927ed3ff06273a Mon Sep 17 00:00:00 2001 From: Leonmmcoset Date: Tue, 24 Mar 2026 17:31:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DGUI=E5=B8=A7=E6=95=B0?= =?UTF-8?q?=E7=89=B9=E5=88=AB=E4=BD=8E=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BuildTime.txt | 2 +- GitCommit.txt | 2 +- Gui/Gui.cs | 3 --- Gui/WindowManager.cs | 1 + 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/BuildTime.txt b/BuildTime.txt index 9261a62..c16ded6 100644 --- a/BuildTime.txt +++ b/BuildTime.txt @@ -1 +1 @@ -2026-03-24 17:20:32 \ No newline at end of file +2026-03-24 17:25:50 \ No newline at end of file diff --git a/GitCommit.txt b/GitCommit.txt index b818dee..88d8b17 100644 --- a/GitCommit.txt +++ b/GitCommit.txt @@ -1 +1 @@ -78ebe0c \ No newline at end of file +5fd826a \ No newline at end of file diff --git a/Gui/Gui.cs b/Gui/Gui.cs index beb6dd7..b296953 100644 --- a/Gui/Gui.cs +++ b/Gui/Gui.cs @@ -17,7 +17,6 @@ using CMLeonOS; using CMLeonOS.Logger; using System; -using System.Threading; namespace CMLeonOS.Gui { @@ -50,7 +49,6 @@ namespace CMLeonOS.Gui } Console.WriteLine("Loading apps..."); - Thread.Sleep(1000); AppManager.LoadAllApps(); ProcessManager.AddProcess(windowManager); @@ -81,7 +79,6 @@ namespace CMLeonOS.Gui while (guiRunning) { ProcessManager.Yield(); - System.Threading.Thread.Sleep(1); } } diff --git a/Gui/WindowManager.cs b/Gui/WindowManager.cs index a466376..e382f67 100644 --- a/Gui/WindowManager.cs +++ b/Gui/WindowManager.cs @@ -444,6 +444,7 @@ namespace CMLeonOS.Gui if (bufferModified) { driver.DoubleBufferUpdate(); + bufferModified = false; } UpdateCursor();