mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 16:30:53 +00:00
* Source/GSStandardWindowDecorationView.m (-mouseDown:): Pass the
event on to the super implementation if we don't handle it. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34500 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
346452eefa
commit
5c85e19d23
2 changed files with 11 additions and 1 deletions
|
@ -381,7 +381,10 @@ calc_new_frame(NSRect frame, NSPoint point, NSPoint firstPoint,
|
|||
NSPoint p = [self convertPoint: [event locationInWindow] fromView: nil];
|
||||
|
||||
if (NSPointInRect(p, contentRect))
|
||||
return;
|
||||
{
|
||||
[super mouseDown: event];
|
||||
return;
|
||||
}
|
||||
|
||||
if (NSPointInRect(p, titleBarRect))
|
||||
{
|
||||
|
@ -394,6 +397,8 @@ calc_new_frame(NSRect frame, NSPoint point, NSPoint firstPoint,
|
|||
[self resizeWindowStartingWithEvent: event];
|
||||
return;
|
||||
}
|
||||
|
||||
[super mouseDown: event];
|
||||
}
|
||||
|
||||
- (void) setFrame: (NSRect)frameRect
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue