We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2194bf commit 4e268e1Copy full SHA for 4e268e1
Mini vMac/MNVMApplication.m
@@ -110,7 +110,8 @@ - (void)handleKeyUIEvent:(UIEvent *)event {
110
handleKeyboardEvents = NO;
111
}
112
});
113
- if ([event isKindOfClass:keyboardEventClass] && handleKeyboardEvents) {
+ BOOL emulatorIsFrontmost = [AppDelegate sharedEmulator].running && [AppDelegate sharedInstance].window.rootViewController.presentedViewController == nil;
114
+ if ([event isKindOfClass:keyboardEventClass] && handleKeyboardEvents && emulatorIsFrontmost) {
115
[self handleKeyboardEvent:(UIPhysicalKeyboardEvent*)event];
116
117
0 commit comments