diff options
Diffstat (limited to 'group.c')
-rw-r--r-- | group.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/group.c b/group.c index 834c2f7..7ab65f9 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) { |