knf, some from a diff from Tiago Cunha.

This commit is contained in:
okan
2012-05-13 15:15:54 +00:00
parent 63b59e44c1
commit fb4936d0f7
4 changed files with 14 additions and 10 deletions

View File

@@ -159,6 +159,7 @@ x_setupscreen(struct screen_ctx *sc, u_int which)
XSetWindowAttributes rootattr;
int fake;
u_int nwins, i;
sc->which = which;
sc->rootwin = RootWindow(X_Dpy, sc->which);
@@ -221,6 +222,7 @@ x_wmerrorhandler(Display *dpy, XErrorEvent *e)
return (0);
}
static int
x_errorhandler(Display *dpy, XErrorEvent *e)
{