commit a34a5ee8921b5a74751f7ceb8aed807e76f4b4b9
Author: lhark <[email protected]>
Date:   Sun Nov 3 13:38:45 2019 -0500

    [dwm][patch][status2d] Update patch for dwm 6.2

diff --git 
a/dwm.suckless.org/patches/status2d/dwm-status2d-20161231-bb3bd6f.diff 
b/dwm.suckless.org/patches/status2d/dwm-status2d-6.2.diff
similarity index 96%
rename from dwm.suckless.org/patches/status2d/dwm-status2d-20161231-bb3bd6f.diff
rename to dwm.suckless.org/patches/status2d/dwm-status2d-6.2.diff
index e9b966ec..932ada3b 100644
--- a/dwm.suckless.org/patches/status2d/dwm-status2d-20161231-bb3bd6f.diff
+++ b/dwm.suckless.org/patches/status2d/dwm-status2d-6.2.diff
@@ -3,13 +3,13 @@ index d27cb67..464c9d6 100644
 --- a/dwm.c
 +++ b/dwm.c
 @@ -163,6 +163,7 @@ static void detach(Client *c);
- static void detachstack(Client *c);
  static Monitor *dirtomon(int dir);
  static void drawbar(Monitor *m);
-+static int drawstatusbar(Monitor *m, int bh, char* text);
  static void drawbars(void);
++static int drawstatusbar(Monitor *m, int bh, char* text);
  static void enternotify(XEvent *e);
  static void expose(XEvent *e);
+ static void focus(Client *c);
 @@ -237,7 +238,7 @@ static void zoom(const Arg *arg);
  
  /* variables */
@@ -150,8 +150,8 @@ index d27cb67..464c9d6 100644
        cursor[CurResize] = drw_cur_create(drw, XC_sizing);
        cursor[CurMove] = drw_cur_create(drw, XC_fleur);
        /* init appearance */
--      scheme = ecalloc(LENGTH(colors), sizeof(Scm));
-+      scheme = ecalloc(LENGTH(colors) + 1, sizeof(Scm));
+-      scheme = ecalloc(LENGTH(colors), sizeof(Clr *));
++      scheme = ecalloc(LENGTH(colors) + 1, sizeof(Clr *));
 +      scheme[LENGTH(colors)] = drw_scm_create(drw, colors[0], 3);
        for (i = 0; i < LENGTH(colors); i++)
                scheme[i] = drw_scm_create(drw, colors[i], 3);
diff --git a/dwm.suckless.org/patches/status2d/index.md 
b/dwm.suckless.org/patches/status2d/index.md
index cea4c891..172f1cc4 100644
--- a/dwm.suckless.org/patches/status2d/index.md
+++ b/dwm.suckless.org/patches/status2d/index.md
@@ -11,7 +11,7 @@ an example of my status bar with multi-cpu and battery.
 Download
 --------
 
-* [dwm-status2d-20161231-bb3bd6f.diff](dwm-status2d-20161231-bb3bd6f.diff)
+* [dwm-status2d-6.2.diff](dwm-status2d-6.2.diff)
 
 
 Usage
@@ -32,5 +32,5 @@ xsetroot -name "dwmstatus ^c#FF0000^ in red with red rectangle
 Authors
 -------
 * [sipi](https://github.com/sipi)
-* lhark - <[email protected]> (bb3bd6f port)
+* lhark - <[email protected]> (6.2 port)
 


Reply via email to