X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/42750a621b3f0786e7fa3d7c9533c03c2a3d189d..0a668922a4de625d128a362d102844e33e36ae1c:/dwm.c diff --git a/dwm.c b/dwm.c index 74b7795..f7e9e84 100644 --- a/dwm.c +++ b/dwm.c @@ -1235,8 +1235,8 @@ propertynotify(XEvent *e) { } if(ev->atom == XA_WM_NAME || ev->atom == netatom[NetWMName]) { updatetitle(c); - if(c == selmon->sel) - drawbars(); + if(c == c->mon->sel) + drawbar(c->mon); } } }