X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=dwm.c;h=f63a1c09e1d7b5d92eeb8f32c89a365f1cab88d9;hp=74b77957aa92d06e39eef9fa1c742a9fa7d941a4;hb=57629642321b9850edddf068ac9ddf8737979390;hpb=42750a621b3f0786e7fa3d7c9533c03c2a3d189d diff --git a/dwm.c b/dwm.c index 74b7795..f63a1c0 100644 --- a/dwm.c +++ b/dwm.c @@ -1235,7 +1235,7 @@ propertynotify(XEvent *e) { } if(ev->atom == XA_WM_NAME || ev->atom == netatom[NetWMName]) { updatetitle(c); - if(c == selmon->sel) + if(c == c->mon->sel) drawbars(); } }