mirror of
https://github.com/dylanaraps/sowm.git
synced 2025-05-19 09:30:24 -07:00
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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user