From b7c2c34a6662ee043be997c54ff1c85318818c2d Mon Sep 17 00:00:00 2001 From: monsta Date: Tue, 1 Mar 2016 14:25:23 +0300 Subject: process table: don't clear multiple rows selection on right click from https://git.gnome.org/browse/gnome-system-monitor/commit/?id=70dd0dc7408f004bdeffbabaa0a874295ff9120f --- src/callbacks.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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(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; } -- cgit v1.2.1