Sometimes when switching from steam to a different workspace and back only the outer window takes focus so some actions don't work. Tentative fix for that.

This commit is contained in:
Storm Dragon committed 2026-10-14 19:51:07 -04:00
1 parent 9205e7280a
commit 12c514aab0
19 files changed
+798 -30

No files matched your search

+1 -2
View File
@@ -19,6 +19,5 @@ func (policy *titleInputPolicy) observe(request speechRequest) {
}
func (policy *titleInputPolicy) preserves(event input.Event) bool {
return policy.protectRepeats && event.Repeat && event.Pressed &&
event.Name != "Control_L" && event.Name != "Control_R" && event.Name != "Escape"
return policy.protectRepeats && event.Pressed && !input.ShouldInterruptTitle(event)
}