sowm: clean up

This commit is contained in:
Dylan Araps 2019-10-17 14:24:33 +03:00
parent ce819bd126
commit c4d0b2ee8c
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

2
sowm.c
View File

@ -532,7 +532,7 @@ void run(const Arg arg) {
int main(void) { int main(void) {
XEvent ev; XEvent ev;
if (!(d = XOpenDisplay(0x0))) return 0; if (!(d = XOpenDisplay(0))) return 0;
signal(SIGCHLD, SIG_IGN); signal(SIGCHLD, SIG_IGN);
XSetErrorHandler(xerror); XSetErrorHandler(xerror);