1
0
mirror of https://github.com/tiyn/dwm.git synced 2026-01-02 07:29:47 +01:00

added statusallmons to master

This commit is contained in:
2023-10-13 03:21:24 +02:00
parent 60f78e1cac
commit 3beddc02ad
3 changed files with 32 additions and 5 deletions

4
dwm.c
View File

@@ -2155,8 +2155,10 @@ void
updatestatus(void)
{
Monitor* m;
if (!gettextprop(root, XA_WM_NAME, stext, sizeof(stext)))
if (!gettextprop(root, XA_WM_NAME, rawstext, sizeof(rawstext)))
strcpy(stext, "dwm-"VERSION);
else
copyvalidchars(stext, rawstext);
for(m = mons; m; m = m->next)
drawbar(m);
}