summaryrefslogtreecommitdiff
path: root/src/Fl_cocoa.mm
diff options
context:
space:
mode:
Diffstat (limited to 'src/Fl_cocoa.mm')
-rw-r--r--src/Fl_cocoa.mm12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm
index 96f65329f..6d2cf6b5b 100644
--- a/src/Fl_cocoa.mm
+++ b/src/Fl_cocoa.mm
@@ -614,7 +614,6 @@ static void do_timer(CFRunLoopTimerRef timer, void* data)
- (BOOL)windowShouldClose:(FLWindow *)w;
- (BOOL)containsGLsubwindow;
- (void)setContainsGLsubwindow:(BOOL)contains;
-- (BOOL)canBecomeKeyWindow;
@end
@implementation FLWindow
@@ -651,16 +650,6 @@ static void do_timer(CFRunLoopTimerRef timer, void* data)
{
containsGLsubwindow = contains;
}
-- (BOOL)canBecomeKeyWindow
-{
- // before 10.5, the default impl of canBecomeKeyWindow is not OK for tooltip windows
- // we return YES for these windows
- BOOL retval;
- Fl_Window *flw = (Fl_Window*)[self getFl_Window];
- if(fl_mac_os_version < 0x1050 && flw->tooltip_window()) retval = YES;
- else retval = [super canBecomeKeyWindow];
- return retval;
-}
@end
/*
@@ -1666,6 +1655,7 @@ static void q_set_window_title(NSWindow *nsw, const char * name ) {
- (void)mouseDown:(NSEvent *)theEvent;
- (void)rightMouseDown:(NSEvent *)theEvent;
- (void)otherMouseDown:(NSEvent *)theEvent;
+- (void)mouseMoved:(NSEvent *)theEvent;
- (void)mouseDragged:(NSEvent *)theEvent;
- (void)rightMouseDragged:(NSEvent *)theEvent;
- (void)otherMouseDragged:(NSEvent *)theEvent;