summaryrefslogtreecommitdiffhomepage
path: root/patch/attachx.c
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2020-04-22 20:04:09 +0200
committerbakkeby <[email protected]>2020-04-22 20:04:09 +0200
commita84f1b01d25c8071b32e1585e490f3856e1fa0c4 (patch)
treed9b642d531d6b3636db5a38641e6c63ab9ef9fcf /patch/attachx.c
parent11b47dda9950c646611c3517207c91fb829f603a (diff)
downloaddwm-flexipatch-a84f1b01d25c8071b32e1585e490f3856e1fa0c4.tar.gz
dwm-flexipatch-a84f1b01d25c8071b32e1585e490f3856e1fa0c4.zip
Adding fix for attachbottom patch
Diffstat (limited to 'patch/attachx.c')
-rw-r--r--patch/attachx.c3
1 files changed, 2 insertions, 1 deletions
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
+}