Commit 0d8f6543 authored by Hisham Muhammad's avatar Hisham Muhammad
Browse files

allow 'k' to kill multiple processes again (when did this break?...)

parent fae598fc
...@@ -755,8 +755,8 @@ int main(int argc, char** argv) { ...@@ -755,8 +755,8 @@ int main(int argc, char** argv) {
if (!anyTagged) { if (!anyTagged) {
Process* p = (Process*) Panel_getSelected(panel); Process* p = (Process*) Panel_getSelected(panel);
if (p) selectedPid = p->pid; if (p) selectedPid = p->pid;
}
if (selectedPid == 0) break; if (selectedPid == 0) break;
}
SignalsPanel_reset((SignalsPanel*) killPanel); SignalsPanel_reset((SignalsPanel*) killPanel);
const char* fuFunctions[] = {"Send ", "Cancel ", NULL}; const char* fuFunctions[] = {"Send ", "Cancel ", NULL};
ListItem* sgn = (ListItem*) pickFromVector(panel, killPanel, 15, headerHeight, fuFunctions, defaultBar, header); ListItem* sgn = (ListItem*) pickFromVector(panel, killPanel, 15, headerHeight, fuFunctions, defaultBar, header);
...@@ -770,7 +770,6 @@ int main(int argc, char** argv) { ...@@ -770,7 +770,6 @@ int main(int argc, char** argv) {
Process* p = (Process*) Panel_get(panel, i); Process* p = (Process*) Panel_get(panel, i);
if (p->tag) { if (p->tag) {
Process_sendSignal(p, sgn->key); Process_sendSignal(p, sgn->key);
anyTagged = true;
} }
} }
} else { } else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment