summary refs log tree commit diff
path: root/group.c
diff options
context:
space:
mode:
authorokan <okan>2015-03-29 00:21:05 +0000
committerokan <okan>2015-03-29 00:21:05 +0000
commitbc21e4aa37b36b486f7f6ddcb6050e2be93590c1 (patch)
treeda1b2c2fff822dbb33ab2c7b2692cb7599796d03 /group.c
parent668da8493abd2abb6242a0a707e4d745c01b1031 (diff)
parent557cd382dcd973fd96605c3359e3d6dfa45a4fd9 (diff)
downloadcwm-bc21e4aa37b36b486f7f6ddcb6050e2be93590c1.tar.gz
cwm-bc21e4aa37b36b486f7f6ddcb6050e2be93590c1.tar.xz
cwm-bc21e4aa37b36b486f7f6ddcb6050e2be93590c1.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 81fae63..a10b130 100644
--- a/group.c
+++ b/group.c
@@ -91,7 +91,7 @@ group_restack(struct group_ctx *gc)
 		if (cc->stackingorder > highstack)
 			highstack = cc->stackingorder;
 	}
-	winlist = xcalloc((highstack + 1), sizeof(*winlist));
+	winlist = xreallocarray(NULL, (highstack + 1), sizeof(*winlist));
 
 	/* Invert the stacking order for XRestackWindows(). */
 	TAILQ_FOREACH(cc, &gc->clientq, group_entry) {