From d2cb1d60c7eedb2b339221318c993ba35789eecf Mon Sep 17 00:00:00 2001 From: Saumit Dinesan Date: Fri, 7 Oct 2022 03:36:35 +0530 Subject: dwm-6.3 --- patches/05.dwm-attachbottom-6.2.diff | 54 ------------------------------------ 1 file changed, 54 deletions(-) delete mode 100644 patches/05.dwm-attachbottom-6.2.diff (limited to 'patches/05.dwm-attachbottom-6.2.diff') diff --git a/patches/05.dwm-attachbottom-6.2.diff b/patches/05.dwm-attachbottom-6.2.diff deleted file mode 100644 index 82fa119..0000000 --- a/patches/05.dwm-attachbottom-6.2.diff +++ /dev/null @@ -1,54 +0,0 @@ -diff -up dwm-6.2/dwm.c dwm-6.2-attachbottom/dwm.c ---- dwm-6.2/dwm.c 2019-02-02 13:55:28.000000000 +0100 -+++ dwm-6.2-attachbottom/dwm.c 2020-12-27 10:43:35.956867775 +0100 -@@ -147,6 +147,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); -@@ -407,6 +408,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; -@@ -1062,7 +1072,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); -@@ -1417,7 +1427,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); -@@ -1897,7 +1907,7 @@ updategeom(void) - m->clients = c->next; - detachstack(c); - c->mon = mons; -- attach(c); -+ attachbottom(c); - attachstack(c); - } - if (m == selmon) -- cgit v1.2.3