We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fb265bd + f7ed7ef commit deb9f1cCopy full SHA for deb9f1c
src/_macosx.m
@@ -419,6 +419,7 @@ - (const char*)convertKeyEvent:(NSEvent*)event;
419
- (void)keyDown:(NSEvent*)event;
420
- (void)keyUp:(NSEvent*)event;
421
- (void)scrollWheel:(NSEvent *)event;
422
+- (BOOL)acceptsFirstResponder;
423
//- (void)flagsChanged:(NSEvent*)event;
424
@end
425
@@ -5679,6 +5680,11 @@ - (void)scrollWheel:(NSEvent*)event
5679
5680
PyGILState_Release(gstate);
5681
}
5682
5683
+- (BOOL)acceptsFirstResponder
5684
+{
5685
+ return YES;
5686
+}
5687
+
5688
/* This is all wrong. Address of pointer is being passed instead of pointer, keynames don't
5689
match up with what the front-end and does the front-end even handle modifier keys by themselves?
5690
0 commit comments