From 332200d4e5a2eee2910a0f1ee0e71bba94d5ebbc Mon Sep 17 00:00:00 2001 From: nico Date: Sat, 27 Jan 2001 12:57:06 +0000 Subject: [PATCH] Implemented acceptsFirstMouse: so that you can drag with the first click on the window git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8835 72102866-910b-0410-8b05-ffd578937521 --- Source/NSColorWell.m | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Source/NSColorWell.m b/Source/NSColorWell.m index fb2a968e0..6fc895488 100644 --- a/Source/NSColorWell.m +++ b/Source/NSColorWell.m @@ -151,6 +151,12 @@ static NSString *GSColorWellDidBecomeExclusiveNotification = [_the_color drawSwatchInRect: insideRect]; } +- (BOOL) acceptsFirstMouse: (NSEvent *)event +{ + return YES; +} + + - (void) mouseDown: (NSEvent *)theEvent { NSPoint point = [self convertPoint: [theEvent locationInWindow]