mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 21:30:47 +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
|
@ -1,3 +1,8 @@
|
||||||
|
2012-01-12 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
|
* Source/GSStandardWindowDecorationView.m (-mouseDown:): Pass the
|
||||||
|
event on to the super implementation if we don't handle it.
|
||||||
|
|
||||||
2012-01-11 Fred Kiefer <FredKiefer@gmx.de>
|
2012-01-11 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
* Source/NSImage.m (+_clearFileTypeCaches): Use DESTROY instead of RELEASE.
|
* Source/NSImage.m (+_clearFileTypeCaches): Use DESTROY instead of RELEASE.
|
||||||
|
|
|
@ -381,7 +381,10 @@ calc_new_frame(NSRect frame, NSPoint point, NSPoint firstPoint,
|
||||||
NSPoint p = [self convertPoint: [event locationInWindow] fromView: nil];
|
NSPoint p = [self convertPoint: [event locationInWindow] fromView: nil];
|
||||||
|
|
||||||
if (NSPointInRect(p, contentRect))
|
if (NSPointInRect(p, contentRect))
|
||||||
return;
|
{
|
||||||
|
[super mouseDown: event];
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (NSPointInRect(p, titleBarRect))
|
if (NSPointInRect(p, titleBarRect))
|
||||||
{
|
{
|
||||||
|
@ -394,6 +397,8 @@ calc_new_frame(NSRect frame, NSPoint point, NSPoint firstPoint,
|
||||||
[self resizeWindowStartingWithEvent: event];
|
[self resizeWindowStartingWithEvent: event];
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[super mouseDown: event];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) setFrame: (NSRect)frameRect
|
- (void) setFrame: (NSRect)frameRect
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue