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:
1 parent
9205e7280a
commit
12c514aab0
19 files changed
+798
-30
No files matched your search
@@ -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)
|
||||
}
|
||||
Reference in new issue
Block a user