From 50fdc2e5c505b4e915875c8cd916d8ed1ca9fe4f Mon Sep 17 00:00:00 2001 From: goaaats Date: Wed, 7 May 2025 00:00:48 +0200 Subject: [PATCH] TSM should force itself to front if it is expanded --- Dalamud/Interface/Internal/Windows/TitleScreenMenuWindow.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dalamud/Interface/Internal/Windows/TitleScreenMenuWindow.cs b/Dalamud/Interface/Internal/Windows/TitleScreenMenuWindow.cs index cbb6998ac..2b8973dc5 100644 --- a/Dalamud/Interface/Internal/Windows/TitleScreenMenuWindow.cs +++ b/Dalamud/Interface/Internal/Windows/TitleScreenMenuWindow.cs @@ -152,6 +152,10 @@ internal class TitleScreenMenuWindow : Window, IDisposable { ImGui.PushStyleVar(ImGuiStyleVar.ItemSpacing, new Vector2(0, 0)); ImGui.PushStyleVar(ImGuiStyleVar.WindowPadding, new Vector2(0, 0)); + + if (this.state == State.Show) + ImGui.SetNextWindowFocus(); + base.PreDraw(); }