~ft/zuke

e54644aa990b4107b39e572c95feab9cd9be65f1 — Sigrid Haflínudóttir 6 months ago 9a9b847
fix picker pid with newwindow call, also put themeproc and the rest into a separate notify group
2 files changed, 2 insertions(+), 2 deletions(-)

M theme.c
M zuke.c
M theme.c => theme.c +1 -1
@@ 35,7 35,7 @@ runpicker(void *x)
	dup(*p, 0); dup(*p, 1); close(*p);
	close(p[1]);
	dup(f = open("/dev/null", OWRITE), 2); close(f);
	procexecl(nil, "/bin/picker", "picker", nil);
	execl("/bin/picker", "picker", nil);

	threadexits("exec: %r");
}

M zuke.c => zuke.c +1 -1
@@ 967,7 967,7 @@ ev:
			if(m.buttons == 4){
				n = menuhit(3, mctl, &menu3, nil);
				if(n == 0)
					proccreate(themeproc, nil, 4096);
					procrfork(themeproc, nil, 4096, RFNOTEG);
				else if(n == 1)
					goto end;
				goto ev;