shithub: zuke

Download patch

ref: e54644aa990b4107b39e572c95feab9cd9be65f1
parent: 9a9b8477a8dec9fd05b97ddfda316f86dae8fb20
author: Sigrid Haflínudóttir <ftrvxmtrx@gmail.com>
date: Thu Jun 25 09:09:55 EDT 2020

fix picker pid with newwindow call, also put themeproc and the rest into a separate notify group

--- a/theme.c
+++ b/theme.c
@@ -35,7 +35,7 @@
 	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");
 }
--- a/zuke.c
+++ b/zuke.c
@@ -967,7 +967,7 @@
 			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;