From 3ce44626f2e557494248d746f688f20eed4be197 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 1 Dec 2011 03:40:57 +0000 Subject: Remove menu stuff from FlowCanvas. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3717 a436a847-0d15-0410-975c-d299462d15a1 --- src/PatchageModule.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/PatchageModule.cpp') diff --git a/src/PatchageModule.cpp b/src/PatchageModule.cpp index 4254015..e9743f5 100644 --- a/src/PatchageModule.cpp +++ b/src/PatchageModule.cpp @@ -82,6 +82,15 @@ PatchageModule::show_menu(GdkEventButton* ev) return true; } +bool +PatchageModule::on_click(GdkEventButton* ev) +{ + if (ev->button == 3) { + return show_menu(ev); + } + return false; +} + void PatchageModule::load_location() { -- cgit v1.2.1