diff options
Diffstat (limited to 'src/gui/Port.cpp')
-rw-r--r-- | src/gui/Port.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gui/Port.cpp b/src/gui/Port.cpp index a7153ff3..dc7d0254 100644 --- a/src/gui/Port.cpp +++ b/src/gui/Port.cpp @@ -162,6 +162,15 @@ Port::on_event(GdkEvent* ev) break; } + return Object::on_event(ev); +} + +bool +Port::on_click(GdkEventButton* ev) +{ + if (ev->button == 3) { + return show_menu(ev); + } return false; } |