From c6062306426815e67151fd7efb6b50515f2c9ca2 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 22 Aug 2014 15:55:59 +0000 Subject: Remove duplicate function. --- pugl/pugl_osx.m | 9 --------- 1 file changed, 9 deletions(-) diff --git a/pugl/pugl_osx.m b/pugl/pugl_osx.m index 7e543a8..86c3c34 100644 --- a/pugl/pugl_osx.m +++ b/pugl/pugl_osx.m @@ -268,15 +268,6 @@ getModifiers(PuglView* view, NSEvent* ev) } } -- (void) rightMouseDragged:(NSEvent*)event -{ - if (puglview->motionFunc) { - NSPoint loc = [event locationInWindow]; - puglview->mods = getModifiers(puglview, event); - puglview->motionFunc(puglview, loc.x, puglview->height - loc.y); - } -} - - (void) mouseDown:(NSEvent*)event { if (puglview->mouseFunc) { -- cgit v1.2.3