xtools

Check-in [7c53f0af97]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Updated path to Xorg for xorg-server 1.20.0 on archlinux
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:7c53f0af973e1ec1346a56e7eec1fad7fe947f913eb0cef24ef404cb38fd0d27
User & Date: jmcclure 2018-05-17 14:28:53
Context
2018-05-26
22:58
Removed wmutil rule from Makefile check-in: 75246cf9d1 user: jmcclure tags: trunk
2018-05-17
14:28
Updated path to Xorg for xorg-server 1.20.0 on archlinux check-in: 7c53f0af97 user: jmcclure tags: trunk
2018-04-15
01:43
Fixed info link to reflect wmutil -> muswm change check-in: cf14cdcd1d user: jmcclure tags: trunk
Changes

Changes to xi.c.

32
33
34
35
36
37
38
39
40
41
42
43
44
45
46

void handler(int sig) {
	if (sig == SIGUSR1) xrunning = 1;
	if (sig == SIGCHLD || sig == SIGTERM) xrunning = 0;
}

int server(const char *dpy, const char *tty, const char *xauth) {
	const char *xorg = "/usr/lib/xorg-server/Xorg";
	int pid;
	if ((pid=fork()) < 0) exit(1);
	else if (pid > 0) return pid;
	signal(SIGTTIN, SIG_IGN);
	signal(SIGTTOU, SIG_IGN);
	signal(SIGUSR1, SIG_IGN);
	execl(xorg, xorg, dpy, tty, "-keeptty", "-nolisten", "tcp", "-quiet", "-auth", xauth, NULL);







|







32
33
34
35
36
37
38
39
40
41
42
43
44
45
46

void handler(int sig) {
	if (sig == SIGUSR1) xrunning = 1;
	if (sig == SIGCHLD || sig == SIGTERM) xrunning = 0;
}

int server(const char *dpy, const char *tty, const char *xauth) {
	const char *xorg = "/usr/lib/Xorg";
	int pid;
	if ((pid=fork()) < 0) exit(1);
	else if (pid > 0) return pid;
	signal(SIGTTIN, SIG_IGN);
	signal(SIGTTOU, SIG_IGN);
	signal(SIGUSR1, SIG_IGN);
	execl(xorg, xorg, dpy, tty, "-keeptty", "-nolisten", "tcp", "-quiet", "-auth", xauth, NULL);