mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 03:20:48 +00:00
Fix mouseDown invocation in NSWindow
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12416 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
830678b878
commit
067359747d
2 changed files with 14 additions and 0 deletions
|
@ -2623,6 +2623,10 @@ resetCursorRectsForView(NSView *theView)
|
|||
[self update];
|
||||
}
|
||||
|
||||
- (void) mouseDown: (NSEvent*)theEvent
|
||||
{
|
||||
// Quietly discard an unused mouse down.
|
||||
}
|
||||
|
||||
- (void) sendEvent: (NSEvent*)theEvent
|
||||
{
|
||||
|
@ -2667,6 +2671,10 @@ resetCursorRectsForView(NSView *theView)
|
|||
[v mouseDown: theEvent];
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
[self mouseDown: theEvent];
|
||||
}
|
||||
}
|
||||
_lastPoint = [theEvent locationInWindow];
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue