commit be984c099b2d8e2e63a20e705bbdfc6f64c63ca9
Author: zDylant <[email protected]>
Date:   Tue Dec 20 19:57:01 2022 -0500

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

diff --git 
a/dwm.suckless.org/patches/alternativetags/dwm-alternativetags-6.3.diff 
b/dwm.suckless.org/patches/alternativetags/dwm-alternativetags-6.3.diff
index 011583ff..c881b001 100644
--- 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
index 0d82fc5f..b1efc4d1 100644
--- 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
index cd77ceca..c176ec64 100644
--- 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
 


Reply via email to