From 812aa788fa06c9a48fb7b5f54d08c99cbb4f709c Mon Sep 17 00:00:00 2001 From: xAlpharax <42233094+xAlpharax@users.noreply.github.com> Date: Wed, 16 Aug 2023 20:21:39 +0300 Subject: Fixed the attachbottom patch and pulled in some new diff files to merge. Changes to be committed: modified: dwm.c modified: dwm.c.orig modified: dwm.c.rej new file: patches_new/dwm-fullgaps-6.4.diff new file: patches_new/dwm-noborderflicker-20211227-8657affa2a61.diff new file: patches_new/dwm-resizecorners-6.2.diff new file: patches_new/dwm-sticky-6.4.diff new file: patches_new/dwm-tag-preview-6.3.diff new file: patches_new/dwm-toggleborder-6.3.diff new file: patches_new/dwm-winicon-6.3-v2.1.diff --- dwm.c.rej | 61 +++++++++++-------------------------------------------------- 1 file changed, 11 insertions(+), 50 deletions(-) (limited to 'dwm.c.rej') diff --git a/dwm.c.rej b/dwm.c.rej index 422e803..67e66a5 100644 --- a/dwm.c.rej +++ b/dwm.c.rej @@ -1,50 +1,11 @@ ---- dwm.c 2021-10-02 14:22:28.034782413 +0100 -+++ dwm.c 2021-10-02 14:27:54.599845767 +0100 -@@ -183,8 +183,10 @@ static void maprequest(XEvent *e); - static void monocle(Monitor *m); - static void motionnotify(XEvent *e); - static void movemouse(const Arg *arg); -+static unsigned int nexttag(void); - static Client *nexttiled(Client *c); - static void pop(Client *); -+static unsigned int prevtag(void); - static void propertynotify(XEvent *e); - static void quit(const Arg *arg); - static Monitor *recttomon(int x, int y, int w, int h); -@@ -208,6 +210,8 @@ static void sigchld(int unused); - static void spawn(const Arg *arg); - static void tag(const Arg *arg); - static void tagmon(const Arg *arg); -+static void tagtonext(const Arg *arg); -+static void tagtoprev(const Arg *arg); - static void tile(Monitor *); - static void togglebar(const Arg *arg); - static void togglefloating(const Arg *arg); -@@ -227,6 +231,8 @@ static void updatetitle(Client *c); - static void updatewindowtype(Client *c); - static void updatewmhints(Client *c); - static void view(const Arg *arg); -+static void viewnext(const Arg *arg); -+static void viewprev(const Arg *arg); - static Client *wintoclient(Window w); - static Monitor *wintomon(Window w); - static int xerror(Display *dpy, XErrorEvent *ee); -@@ -2119,6 +2200,18 @@ view(const Arg *arg) - arrange(selmon); - } - -+void -+viewnext(const Arg *arg) -+{ -+ view(&(const Arg){.ui = nexttag()}); -+} -+ -+void -+viewprev(const Arg *arg) -+{ -+ view(&(const Arg){.ui = prevtag()}); -+} -+ - Client * - wintoclient(Window w) - { +--- dwm.c 2022-01-07 12:42:18.000000000 +0100 ++++ dwm.c 2022-08-17 22:14:41.813809073 +0200 +@@ -1913,7 +1923,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