From 287e94cd6be1a796441688062f52bb2742651d16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arturo=20J=2E=20Pe=CC=81rez?= Date: Thu, 2 Aug 2012 17:45:52 +0200 Subject: [PATCH] Behavior differences under Lion and Snow Leopard in updateTrackingAreas. super call added. According to documentation (NSView Class Reference -> Instance Methods -> updateTrackingAreas): You should override this method to remove out of date tracking areas and add recomputed tracking areas; your implementation should call super. --- src/cocoa_window.m | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cocoa_window.m b/src/cocoa_window.m index 6e4d4270..74f187b0 100644 --- a/src/cocoa_window.m +++ b/src/cocoa_window.m @@ -425,6 +425,7 @@ static int convertMacKeyCode(unsigned int macKeyCode) userInfo:nil]; [self addTrackingArea:trackingArea]; + [super updateTrackingAreas]; } - (void)keyDown:(NSEvent *)event