mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
whitespace and style fixes; from Tiago Cunha and one from me.
This commit is contained in:
parent
fbcdce6be9
commit
7a7e5cd592
4
calmwm.c
4
calmwm.c
|
@ -102,7 +102,6 @@ main(int argc, char **argv)
|
||||||
conf_path = NULL;
|
conf_path = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
conf_init(&Conf);
|
conf_init(&Conf);
|
||||||
if (conf_path && (parse_config(conf_path, &Conf) == -1))
|
if (conf_path && (parse_config(conf_path, &Conf) == -1))
|
||||||
warnx("config file %s has errors, not loading", conf_path);
|
warnx("config file %s has errors, not loading", conf_path);
|
||||||
|
@ -121,8 +120,7 @@ x_init(const char *dpyname)
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
if ((X_Dpy = XOpenDisplay(dpyname)) == NULL)
|
if ((X_Dpy = XOpenDisplay(dpyname)) == NULL)
|
||||||
errx(1, "unable to open display \"%s\"",
|
errx(1, "unable to open display \"%s\"", XDisplayName(dpyname));
|
||||||
XDisplayName(dpyname));
|
|
||||||
|
|
||||||
XSetErrorHandler(x_wmerrorhandler);
|
XSetErrorHandler(x_wmerrorhandler);
|
||||||
XSelectInput(X_Dpy, DefaultRootWindow(X_Dpy), SubstructureRedirectMask);
|
XSelectInput(X_Dpy, DefaultRootWindow(X_Dpy), SubstructureRedirectMask);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user