diff options
author | okan <okan> | 2013-07-08 15:46:16 +0000 |
---|---|---|
committer | okan <okan> | 2013-07-08 15:46:16 +0000 |
commit | 7a7e5cd59254ab17f1f37affa868858160eca07a (patch) | |
tree | 561f01afc7597a290fe1735b0b53c9b9c459beeb | |
parent | fbcdce6be90df22da222192f4c54b170e945f36f (diff) | |
download | cwm-7a7e5cd59254ab17f1f37affa868858160eca07a.tar.gz cwm-7a7e5cd59254ab17f1f37affa868858160eca07a.tar.xz cwm-7a7e5cd59254ab17f1f37affa868858160eca07a.zip |
whitespace and style fixes; from Tiago Cunha and one from me.
-rw-r--r-- | calmwm.c | 4 | ||||
-rw-r--r-- | xevents.c | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/calmwm.c b/calmwm.c index 6a189d2..4a5f43d 100644 --- a/calmwm.c +++ b/calmwm.c @@ -102,7 +102,6 @@ main(int argc, char **argv) conf_path = NULL; } - conf_init(&Conf); if (conf_path && (parse_config(conf_path, &Conf) == -1)) warnx("config file %s has errors, not loading", conf_path); @@ -121,8 +120,7 @@ x_init(const char *dpyname) int i; if ((X_Dpy = XOpenDisplay(dpyname)) == NULL) - errx(1, "unable to open display \"%s\"", - XDisplayName(dpyname)); + errx(1, "unable to open display \"%s\"", XDisplayName(dpyname)); XSetErrorHandler(x_wmerrorhandler); XSelectInput(X_Dpy, DefaultRootWindow(X_Dpy), SubstructureRedirectMask); diff --git a/xevents.c b/xevents.c index 812e959..ddbd8b6 100644 --- a/xevents.c +++ b/xevents.c @@ -357,7 +357,7 @@ xev_handle_clientmessage(XEvent *ee) client_send_delete(cc); if (e->message_type == ewmh[_NET_ACTIVE_WINDOW].atom && - e->format == 32) { + e->format == 32) { old_cc = client_current(); if (old_cc) client_ptrsave(old_cc); |