From 5c85e19d23d595333f109c377e92af801600200c Mon Sep 17 00:00:00 2001 From: fredkiefer Date: Thu, 12 Jan 2012 09:42:03 +0000 Subject: [PATCH] * 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 --- ChangeLog | 5 +++++ Source/GSStandardWindowDecorationView.m | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a71c5def7..45e9b5905 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-01-12 Fred Kiefer + + * Source/GSStandardWindowDecorationView.m (-mouseDown:): Pass the + event on to the super implementation if we don't handle it. + 2012-01-11 Fred Kiefer * Source/NSImage.m (+_clearFileTypeCaches): Use DESTROY instead of RELEASE. diff --git a/Source/GSStandardWindowDecorationView.m b/Source/GSStandardWindowDecorationView.m index dec8e9a0a..43ada3799 100644 --- a/Source/GSStandardWindowDecorationView.m +++ b/Source/GSStandardWindowDecorationView.m @@ -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