summaryrefslogtreecommitdiff
path: root/app/cwm/calmwm.c
diff options
context:
space:
mode:
authorOkan Demirmen <okan@cvs.openbsd.org>2012-05-13 15:15:55 +0000
committerOkan Demirmen <okan@cvs.openbsd.org>2012-05-13 15:15:55 +0000
commita37f6d7d7c59e54cef43e125d6ef1f0401475fb5 (patch)
tree0ea75e85b9fbab916d1a0d3889d52ac02012c2d1 /app/cwm/calmwm.c
parent78cb3023deb1308f653a890df5f5c714e4c23f0a (diff)
knf, some from a diff from Tiago Cunha.
Diffstat (limited to 'app/cwm/calmwm.c')
-rw-r--r--app/cwm/calmwm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/cwm/calmwm.c b/app/cwm/calmwm.c
index 7e0df51f9..d12ebe5ab 100644
--- a/app/cwm/calmwm.c
+++ b/app/cwm/calmwm.c
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $OpenBSD: calmwm.c,v 1.59 2011/09/08 12:35:33 okan Exp $
+ * $OpenBSD: calmwm.c,v 1.60 2012/05/13 15:15:54 okan Exp $
*/
#include <sys/param.h>
@@ -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)
{