Skip to content

Commit b503906

Browse files
committed
Fix unfocus
1 parent 76e2b79 commit b503906

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

SRC/Aura_OS/Properties/VersionInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ namespace Aura_OS
22
{
33
public class VersionInfo
44
{
5-
public static string revision = "280620231447";
5+
public static string revision = "280620231450";
66
}
77
}

SRC/Aura_OS/System/Application/App.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,10 @@ public override void Update()
6969

7070
if (!HasWindowMoving && Window.Close.IsInside((int)MouseManager.X, (int)MouseManager.Y))
7171
{
72-
Kernel.WindowManager.Focused = null;
72+
if (Kernel.WindowManager.Focused == this)
73+
{
74+
Kernel.WindowManager.Focused = null;
75+
}
7376
Stop();
7477
return;
7578
}

0 commit comments

Comments
 (0)