sites

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

commit 2d8df327bd5efe86e0e782ee02984a5a5b049b04
parent ebfa338f8a3206c92885600229d983f2be4682a2
Author: Tuxway Suckless <tuxway+suckless@posteo.de>
Date:   Thu,  9 Jul 2020 17:08:53 +0200

[dwm][patch] statusallmons - Update to 6.2

Diffstat:
Adwm.suckless.org/patches/statusallmons/dwm-statusallmons-6.2.diff | 25+++++++++++++++++++++++++
Mdwm.suckless.org/patches/statusallmons/index.md | 2++
2 files changed, 27 insertions(+), 0 deletions(-)

diff --git a/dwm.suckless.org/patches/statusallmons/dwm-statusallmons-6.2.diff b/dwm.suckless.org/patches/statusallmons/dwm-statusallmons-6.2.diff @@ -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 +@@ -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); +@@ -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 @@ -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) @@ -16,3 +17,4 @@ Author ------ * Pascal Wittmann - <mail@pascal-wittmann.de> * Updated by Jan Christoph Ebersbach - <jceb@e-jc.de> +* Updated to 6.2 by Tuxway Suckless - <tuxway+suckless@posteo.de>