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:
4
dwm.c
4
dwm.c
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user