mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 06:51:44 +00:00
Implement acceptsFirstMouse so to return YES, otherwise tablees in new windows do not get mouse selection events. (#173)
Seems to match Apple's implementation.
This commit is contained in:
parent
829069af34
commit
62d16bff24
1 changed files with 5 additions and 0 deletions
|
@ -3568,6 +3568,11 @@ static inline NSTimeInterval computePeriod(NSPoint mouseLocationWin,
|
|||
return NO;
|
||||
}
|
||||
|
||||
- (BOOL) acceptsFirstMouse: (NSEvent *)theEvent
|
||||
{
|
||||
return YES;
|
||||
}
|
||||
|
||||
- (void) mouseDown: (NSEvent *)theEvent
|
||||
{
|
||||
NSPoint initialLocation = [theEvent locationInWindow];
|
||||
|
|
Loading…
Reference in a new issue