[wiki] [sites] [dwm][patch] statusallmons - Update to 6.2 || Tuxway Suckless
commit 2d8df327bd5efe86e0e782ee02984a5a5b049b04
Author: Tuxway Suckless <tuxway+suckless_AT_posteo.de>
Date: Thu Jul 9 17:08:53 2020 +0200
[dwm][patch] statusallmons - Update to 6.2
diff --git a/dwm.suckless.org/patches/statusallmons/dwm-statusallmons-6.2.diff b/dwm.suckless.org/patches/statusallmons/dwm-statusallmons-6.2.diff
new file mode 100644
index 00000000..9d9633d6
--- /dev/null
+++ b/dwm.suckless.org/patches/statusallmons/dwm-statusallmons-6.2.diff
_AT_@ -0,0 +1,25 @@
+diff -up a/dwm.c b/dwm.c
+--- a/dwm.c 2020-07-09 16:49:10.023585649 +0200
++++ b/dwm.c 2020-07-09 16:49:43.497542191 +0200
+_AT_@ -702,7 +702,7 @@ drawbar(Monitor *m)
+ Client *c;
+
+ /* draw status first so it can be overdrawn by tags later */
+- if (m == selmon) { /* status is only drawn on selected monitor */
++ if (m == selmon || 1) { /* status is only drawn on selected monitor */
+ drw_setscheme(drw, scheme[SchemeNorm]);
+ sw = TEXTW(stext) - lrpad + 2; /* 2px right padding */
+ drw_text(drw, m->ww - sw, 0, sw, bh, 0, stext, 0);
+_AT_@ -1987,9 +1987,11 @@ updatesizehints(Client *c)
+ void
+ updatestatus(void)
+ {
++ Monitor* m;
+ if (!gettextprop(root, XA_WM_NAME, stext, sizeof(stext)))
+ strcpy(stext, "dwm-"VERSION);
+- drawbar(selmon);
++ for(m = mons; m; m = m->next)
++ drawbar(m);
+ }
+
+ void
diff --git a/dwm.suckless.org/patches/statusallmons/index.md b/dwm.suckless.org/patches/statusallmons/index.md
index 77e345d9..497d0972 100644
--- a/dwm.suckless.org/patches/statusallmons/index.md
+++ b/dwm.suckless.org/patches/statusallmons/index.md
_AT_@ -7,6 +7,7 @@ This patch draws and updates the statusbar on all monitors.
Download
--------
+* [dwm-statusallmons-6.2.diff](dwm-statusallmons-6.2.diff)
* [dwm-statusallmons-20160731-56a31dc.diff](dwm-statusallmons-20160731-56a31dc.diff)
* [dwm-6.1-statusallmons.diff](dwm-6.1-statusallmons.diff) (1026b) (20140209)
* [dwm-statusallmons-6.0.diff](dwm-statusallmons-6.0.diff) (982b) (20120406)
_AT_@ -16,3 +17,4 @@ Author
------
* Pascal Wittmann - <mail_AT_pascal-wittmann.de>
* Updated by Jan Christoph Ebersbach - <jceb_AT_e-jc.de>
+* Updated to 6.2 by Tuxway Suckless - <tuxway+suckless_AT_posteo.de>
Received on Thu Jul 09 2020 - 17:11:14 CEST
This archive was generated by hypermail 2.3.0
: Thu Jul 09 2020 - 17:12:51 CEST