ref: 6795644fd74a34f3ec28f5a4b88bb961f4417937
parent: 5e005228889a1e62170f1cf66f9af0c5ebafe645
author: Sigrid Haflínudóttir <ftrvxmtrx@gmail.com>
date: Thu Aug 13 08:38:41 EDT 2020
remove useless priority setting
--- a/zuke.c
+++ b/zuke.c
@@ -848,7 +848,6 @@
void
threadmain(int argc, char **argv)
{
- char tmp[256];
Rune key;
Mouse m;
Alt a[] =
@@ -858,7 +857,7 @@
{ nil, &key, CHANRCV },
{ nil, nil, CHANEND },
};
- int fd, n, scrolling, oldpcur, oldbuttons, pnew, shuffled, themetid;
+ int n, scrolling, oldpcur, oldbuttons, pnew, shuffled, themetid;
shuffled = 0;
ARGBEGIN{
@@ -902,12 +901,6 @@
chvolume(0);
fmtinstall('P', positionfmt);
threadsetname("zuke");
-
- snprint(tmp, sizeof(tmp), "/proc/%d/ctl", getpid());
- if((fd = open(tmp, OWRITE)) >= 0){
- fprint(fd, "pri 13\n");
- close(fd);
- }
if(shuffled){
pcur = nrand(plnum);