summaryrefslogtreecommitdiff
path: root/dwm.c.rej
diff options
context:
space:
mode:
authorxAlpharax <42233094+xAlpharax@users.noreply.github.com>2023-08-16 20:21:39 +0300
committerxAlpharax <42233094+xAlpharax@users.noreply.github.com>2023-08-16 20:21:39 +0300
commit812aa788fa06c9a48fb7b5f54d08c99cbb4f709c (patch)
treedf191225e3f3d9e755b06c0546668d244de539d7 /dwm.c.rej
parent1dec076282eae69d44e5aa3168ae8ed0e7bfb94d (diff)
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
Diffstat (limited to 'dwm.c.rej')
-rw-r--r--dwm.c.rej61
1 files changed, 11 insertions, 50 deletions
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)