URI:
       Updated my old attachbottom for latest dwm version - sites - public wiki contents of suckless.org
  HTML git clone git://git.suckless.org/sites
   DIR Log
   DIR Files
   DIR Refs
       ---
   DIR commit f59d958400f353df0d1885aa746ee129e7300e9d
   DIR parent 94e3d3282bbc34746dccb1e71b44ee8094435b42
  HTML Author: Marshall Mason <marshallmason2@gmail.com>
       Date:   Fri, 29 May 2026 15:51:06 -0700
       
       Updated my old attachbottom for latest dwm version
       
       Diffstat:
         A dwm.suckless.org/patches/attachbot… |      53 ++++++++++++++++++++++++++++++
         M dwm.suckless.org/patches/attachbot… |       3 ++-
       
       2 files changed, 55 insertions(+), 1 deletion(-)
       ---
   DIR diff --git a/dwm.suckless.org/patches/attachbottom/dwm-attachbottom-6.8.diff b/dwm.suckless.org/patches/attachbottom/dwm-attachbottom-6.8.diff
       @@ -0,0 +1,53 @@
       +--- dwm-6.8/dwm.c        2026-01-30 02:19:28.660280483 -0800
       ++++ dwm-6.8-attachbottom/dwm.c        2026-05-29 15:33:49.595818574 -0700
       +@@ -146,6 +146,7 @@ static int applysizehints(Client *c, int
       + static void arrange(Monitor *m);
       + static void arrangemon(Monitor *m);
       + static void attach(Client *c);
       ++static void attachbottom(Client *c);
       + static void attachstack(Client *c);
       + static void buttonpress(XEvent *e);
       + static void checkotherwm(void);
       +@@ -408,6 +409,15 @@ attach(Client *c)
       + }
       + 
       + void
       ++attachbottom(Client *c)
       ++{
       ++        Client **tc;
       ++        c->next = NULL;
       ++        for (tc = &c->mon->clients; *tc; tc = &(*tc)->next);
       ++        *tc = c;
       ++}
       ++
       ++void
       + attachstack(Client *c)
       + {
       +         c->snext = c->mon->stack;
       +@@ -1074,7 +1084,7 @@ manage(Window w, XWindowAttributes *wa)
       +                 c->isfloating = c->oldstate = trans != None || c->isfixed;
       +         if (c->isfloating)
       +                 XRaiseWindow(dpy, c->win);
       +-        attach(c);
       ++        attachbottom(c);
       +         attachstack(c);
       +         XChangeProperty(dpy, root, netatom[NetClientList], XA_WINDOW, 32, PropModeAppend,
       +                 (unsigned char *) &(c->win), 1);
       +@@ -1427,7 +1437,7 @@ sendmon(Client *c, Monitor *m)
       +         detachstack(c);
       +         c->mon = m;
       +         c->tags = m->tagset[m->seltags]; /* assign tags of target monitor */
       +-        attach(c);
       ++        attachbottom(c);
       +         attachstack(c);
       +         focus(NULL);
       +         arrange(NULL);
       +@@ -1915,7 +1925,7 @@ updategeom(void)
       +                                 m->clients = c->next;
       +                                 detachstack(c);
       +                                 c->mon = mons;
       +-                                attach(c);
       ++                                attachbottom(c);
       +                                 attachstack(c);
       +                         }
       +                         if (m == selmon)
   DIR diff --git a/dwm.suckless.org/patches/attachbottom/index.md b/dwm.suckless.org/patches/attachbottom/index.md
       @@ -10,11 +10,12 @@ clients are ever moved, only resized.
        
        Download
        --------
       +* [dwm-attachbottom-6.8.diff](dwm-attachbottom-6.8.diff)
        * [dwm-attachbottom-6.3.diff](dwm-attachbottom-6.3.diff)
        * [dwm-attachbottom-6.2.diff](dwm-attachbottom-6.2.diff)
        * [dwm-attachbottom-20201227-61bb8b2.diff](dwm-attachbottom-20201227-61bb8b2.diff)
        
        Authors
        -------
       -* Marshall Mason - `<marshallmason2@gmail.com>` (not using dwm anymore)
       +* Marshall Mason - `<marshallmason2@gmail.com>`
        * Szabolcs Szucs - `<contact@szabolcsszucs.com>`