From a84f1b01d25c8071b32e1585e490f3856e1fa0c4 Mon Sep 17 00:00:00 2001 From: bakkeby Date: Wed, 22 Apr 2020 20:04:09 +0200 Subject: [PATCH] Adding fix for attachbottom patch --- patch/attachx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/patch/attachx.c b/patch/attachx.c index 1557510..e52e386 100644 --- a/patch/attachx.c +++ b/patch/attachx.c @@ -34,8 +34,9 @@ attachx(Client *c) for (at = c->mon->clients; at && at->next; at = at->next); if (at) { at->next = c; + c->next = NULL; return; } #endif attach(c); // master (default) -} \ No newline at end of file +}