macOS: Fix keyboard input not working after toggling traditional fullscreen till the window is clicked in

This commit is contained in:
Kovid Goyal
2021-11-13 14:20:18 +05:30
parent 181178b0ea
commit 0965fc45f2
3 changed files with 6 additions and 4 deletions

View File

@@ -470,7 +470,7 @@ is_modified_tab(NSEvent *event, NSEventModifierFlags modifierFlags) {
// ctrl+whatever+tab, option+cmd+tab
if (
(
(modifierFlags & NSEventModifierFlagControl) ||
(modifierFlags & NSEventModifierFlagControl) ||
modifierFlags == (NSEventModifierFlagOption | NSEventModifierFlagCommand)
) && [event.charactersIgnoringModifiers isEqualToString:@"\t"]
) return true;