From 254a91f8e544685e7de8b110f4981561e2a77a74 Mon Sep 17 00:00:00 2001 From: monsta Date: Tue, 1 Mar 2016 15:20:33 +0300 Subject: Revert "process table: don't clear multiple rows selection on right click" This reverts commit b7c2c34a6662ee043be997c54ff1c85318818c2d. dammit. this made right-clicking on initially unfocused process table impossible. I had to select a process first, then right-click on it, or else all the right-click menu items were appearing grayed out. reverting this until we figure out how to do it without unwanted side effects. --- src/callbacks.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src') diff --git a/src/callbacks.cpp b/src/callbacks.cpp index 18a9823..87e6bdf 100644 --- a/src/callbacks.cpp +++ b/src/callbacks.cpp @@ -356,10 +356,8 @@ 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