sowm: Fix errors. Closes #51
This commit is contained in:
parent
2c3c353d74
commit
0e8cc9fe86
2
sowm.c
2
sowm.c
|
@ -259,7 +259,7 @@ int main(void) {
|
||||||
if (!(d = XOpenDisplay(0))) exit(1);
|
if (!(d = XOpenDisplay(0))) exit(1);
|
||||||
|
|
||||||
signal(SIGCHLD, SIG_IGN);
|
signal(SIGCHLD, SIG_IGN);
|
||||||
XSetErrorHandler(0);
|
XSetErrorHandler(xerror);
|
||||||
|
|
||||||
int s = DefaultScreen(d);
|
int s = DefaultScreen(d);
|
||||||
Window root = RootWindow(d, s);
|
Window root = RootWindow(d, s);
|
||||||
|
|
Reference in New Issue