sowm: Fix errors. Closes #51

This commit is contained in:
Dylan Araps committed 2020-01-24 06:40:37 +02:00
1 parent 2c3c353d74
commit 0e8cc9fe86
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -259,7 +259,7 @@ int main(void) {
if (!(d = XOpenDisplay(0))) exit(1);
signal(SIGCHLD, SIG_IGN);
XSetErrorHandler(0);
XSetErrorHandler(xerror);
int s = DefaultScreen(d);
Window root = RootWindow(d, s);
+1
View File
@@ -52,3 +52,4 @@ void win_prev(const Arg arg);
void win_next(const Arg arg);
void win_to_ws(const Arg arg);
void ws_go(const Arg arg);
int xerror() { return 0; }