Skip to content

Commit 9572536

Browse files
committed
Removed workaround code
Fixed by libsdl-org/SDL#9592
1 parent f1c85f4 commit 9572536

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

osu.Framework.Android/AndroidGameWindow.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// See the LICENCE file in the repository root for full licence text.
33

44
using System;
5-
using osu.Framework.Bindables;
65
using osu.Framework.Platform;
76
using osu.Framework.Platform.SDL3;
87

@@ -22,10 +21,6 @@ public override void Create()
2221
base.Create();
2322

2423
SafeAreaPadding.BindTo(AndroidGameActivity.Surface.SafeAreaPadding);
25-
26-
// Android SDL doesn't receive these events at start, so it never receives focus until it comes back from background
27-
((BindableBool)CursorInWindow).Value = true;
28-
Focused = true;
2924
}
3025
}
3126
}

0 commit comments

Comments
 (0)