aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl_osx.m
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-08-22 15:55:59 +0000
committerDavid Robillard <d@drobilla.net>2014-08-22 15:55:59 +0000
commitc6062306426815e67151fd7efb6b50515f2c9ca2 (patch)
tree25a6008d57cf719c0d904c6c18458cd4f9c2cb73 /pugl/pugl_osx.m
parent8eeed6d3468cb2635176ec4a973954eb29043d89 (diff)
downloadpugl-c6062306426815e67151fd7efb6b50515f2c9ca2.tar.gz
pugl-c6062306426815e67151fd7efb6b50515f2c9ca2.tar.bz2
pugl-c6062306426815e67151fd7efb6b50515f2c9ca2.zip
Remove duplicate function.
Diffstat (limited to 'pugl/pugl_osx.m')
-rw-r--r--pugl/pugl_osx.m9
1 files changed, 0 insertions, 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) {