From 69fa956f5012f92186e123af37b5bbff8554bbdc Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Wed, 8 Oct 2014 19:23:47 +0200 Subject: cocoa: allow to embed into an arbitrary NSView Basically add if guards on all the problematic features. I'm still thinking about a better way to handle this, but for the time being, this will do. --- video/out/cocoa/events_view.m | 5 ----- 1 file changed, 5 deletions(-) (limited to 'video/out/cocoa/events_view.m') diff --git a/video/out/cocoa/events_view.m b/video/out/cocoa/events_view.m index 91b00fcb0b..744c3f27c7 100644 --- a/video/out/cocoa/events_view.m +++ b/video/out/cocoa/events_view.m @@ -130,11 +130,6 @@ - (BOOL)becomeFirstResponder { return YES; } - (BOOL)resignFirstResponder { return YES; } -- (NSRect)frameInPixels -{ - return [self convertRectToBacking:[self frame]]; -} - - (BOOL)canHideCursor { return !self.hasMouseDown && [self containsMouseLocation]; -- cgit v1.2.3