summary refs log tree commit diff
path: root/group.c
diff options
context:
space:
mode:
authorokan <okan>2014-01-24 22:38:02 +0000
committerokan <okan>2014-01-24 22:38:02 +0000
commit5fd119daea8de1e84f382e7651c996fd861974b9 (patch)
treede65598674fad017b2c1ea457480a5c7ab7c6be8 /group.c
parent371902b3c9fc6c7419f8134e96d67c8735726ff2 (diff)
parent6f103498437d2b2b9eeee66be168a1cc0144bdff (diff)
downloadcwm-5fd119daea8de1e84f382e7651c996fd861974b9.tar.gz
cwm-5fd119daea8de1e84f382e7651c996fd861974b9.tar.xz
cwm-5fd119daea8de1e84f382e7651c996fd861974b9.zip
cvsimport
Diffstat (limited to 'group.c')
-rw-r--r--group.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/group.c b/group.c
index fe5eb3a..990b914 100644
--- a/group.c
+++ b/group.c
@@ -105,7 +105,7 @@ group_show(struct screen_ctx *sc, struct group_ctx *gc)
 		if (cc->stackingorder > gc->highstack)
 			gc->highstack = cc->stackingorder;
 	}
-	winlist = (Window *) xcalloc(sizeof(*winlist), (gc->highstack + 1));
+	winlist = xcalloc((gc->highstack + 1), sizeof(*winlist));
 
 	/*
 	 * Invert the stacking order as XRestackWindows() expects them