popout: opt-in ChatInputBar with focus-aware keybind routing

This commit is contained in:
2026-05-03 12:50:42 +02:00
parent a701f6c103
commit cb5457ba2e
4 changed files with 72 additions and 14 deletions
+7
View File
@@ -1490,6 +1490,13 @@ public sealed class ChatLogWindow : Window
internal readonly List<bool> PopOutDocked = [];
internal readonly HashSet<Guid> PopOutWindows = [];
// v0.6.0 — live enumeration of all active Popout windows so the
// KeybindManager can find a focused ChatInputBar to forward tab-cycle
// keybinds to. Filter on IsOpen prevents touching closed-but-still-
// registered popouts.
internal IEnumerable<Popout> ActivePopouts =>
Plugin.WindowSystem.Windows.OfType<Popout>().Where(p => p.IsOpen);
private void AddPopOutsToDraw()
{
HandlerLender.ResetCounter();