sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

commit be984c099b2d8e2e63a20e705bbdfc6f64c63ca9
parent 40c063c4c2770ef5f561413a8f02ae8182040253
Author: zDylant <zdylant@proton.me>
Date:   Tue, 20 Dec 2022 19:57:01 -0500

Fixes for two dwm broken patches(awesomebar 6.3 and alternativetags 6.3)

Diffstat:
Mdwm.suckless.org/patches/alternativetags/dwm-alternativetags-6.3.diff | 2+-
Mdwm.suckless.org/patches/awesomebar/dwm-awesomebar-20220925-6.3.diff | 12++----------
Mdwm.suckless.org/patches/awesomebar/index.md | 3+++
3 files changed, 6 insertions(+), 11 deletions(-)

diff --git a/dwm.suckless.org/patches/alternativetags/dwm-alternativetags-6.3.diff b/dwm.suckless.org/patches/alternativetags/dwm-alternativetags-6.3.diff @@ -52,7 +52,7 @@ index e5efb6a22806..12ff3f0768bc 100644 @@ -210,6 +212,7 @@ static void spawn(const Arg *arg); static void tag(const Arg *arg); static void tagmon(const Arg *arg); - static void tile(Monitor *m); + static void tile(Monitor *); +static void togglealttag(const Arg *arg); static void togglebar(const Arg *arg); static void togglefloating(const Arg *arg); diff --git a/dwm.suckless.org/patches/awesomebar/dwm-awesomebar-20220925-6.3.diff b/dwm.suckless.org/patches/awesomebar/dwm-awesomebar-20220925-6.3.diff @@ -116,14 +116,6 @@ index a96f33c..c375ba3 100644 static void unfocus(Client *c, int setfocus); static void unmanage(Client *c, int destroyed); static void unmapnotify(XEvent *e); -@@ -241,6 +253,7 @@ - static int screen; - static int sw, sh; /* X display screen geometry width, height */ - static int bh; /* bar height */ -+static int blw; - static int lrpad; /* sum of left and right padding for text */ - static int (*xerrorxlib)(Display *, XErrorEvent *); - static unsigned int numlockmask = 0; @@ -440,10 +452,25 @@ buttonpress(XEvent *e) arg.ui = 1 << i; } else if (ev->x < x + blw) @@ -263,7 +255,7 @@ index a96f33c..c375ba3 100644 - - if (!selmon->sel || (selmon->sel->isfullscreen && lockfullscreen)) + // if no client selected AND exclude hidden client; if client selected but fullscreened -+ if ((!selmon->sel && !hid) || (selmon->sel && selmon->sel->isfullscreen && lockfullscreen)) ++ if ((!selmon->sel && !hid) || (selmon->sel && selmon->sel->isfullscreen && lockfullscreen)) return; - if (arg->i > 0) { - for (c = selmon->sel->next; c && !ISVISIBLE(c); c = c->next); @@ -398,7 +390,7 @@ index a96f33c..c375ba3 100644 +} + +void -+showall(const Arg *arg) ++showall(const Arg *arg) +{ + Client *c = NULL; + selmon->hidsel = 0; diff --git a/dwm.suckless.org/patches/awesomebar/index.md b/dwm.suckless.org/patches/awesomebar/index.md @@ -22,6 +22,9 @@ Since this patch relies on knowing how big everything is in the taskbar, make su Changelog --------- +2022-12-20: +* Fixed broken patch (specifically, the 6.3 Xac version) + 2022-10-04: * Fix typo in titlebar theme switches