summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/callbacks.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/callbacks.cpp b/src/callbacks.cpp
index 87e6bdf..18a9823 100644
--- a/src/callbacks.cpp
+++ b/src/callbacks.cpp
@@ -356,8 +356,10 @@ cb_tree_button_pressed (GtkWidget *widget,
{
ProcData * const procdata = static_cast<ProcData*>(data);
- if (event->button == 3 && event->type == GDK_BUTTON_PRESS)
+ if (event->button == 3 && event->type == GDK_BUTTON_PRESS) {
do_popup_menu (procdata, event);
+ return TRUE;
+ }
return FALSE;
}