macOS: Allow NSView subclasses to accept first mouse event.
This brings the behavior in line with Windows and Linux. Going between multiple windows now doesn't use the first click only to change focus but also allows Blender to process those events.
This commit is contained in:
parent
fb3add54d9
commit
2dab4393b0
|
@ -58,6 +58,11 @@
|
|||
return YES;
|
||||
}
|
||||
|
||||
- (BOOL)acceptsFirstMouse:(NSEvent *)event
|
||||
{
|
||||
return YES;
|
||||
}
|
||||
|
||||
// The trick to prevent Cocoa from complaining (beeping)
|
||||
- (void)keyDown:(NSEvent *)event
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue