~ft/zuke

6795644fd74a34f3ec28f5a4b88bb961f4417937 — Sigrid Haflínudóttir 3 months ago 5e00522
remove useless priority setting
1 files changed, 1 insertions(+), 8 deletions(-)

M zuke.c
M zuke.c => zuke.c +1 -8
@@ 848,7 848,6 @@ usage(void)
void
threadmain(int argc, char **argv)
{
	char tmp[256];
	Rune key;
	Mouse m;
	Alt a[] =


@@ 858,7 857,7 @@ threadmain(int argc, char **argv)
		{ 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{


@@ 903,12 902,6 @@ threadmain(int argc, char **argv)
	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);
		toggleshuffle();