# HG changeset patch # User Anselm R Garbe # Date 1250606575 -3600 # Node ID d4137ac1d9408576b2df4595388ca41e7a48cbf3 # Parent b8cfc90d17039666734bf544044a9319156cc8e3 also update title if the client is on an unfocused monitor diff -r b8cfc90d1703 -r d4137ac1d940 dwm.c --- a/dwm.c Sun Aug 16 21:39:24 2009 +0100 +++ b/dwm.c Tue Aug 18 15:42:55 2009 +0100 @@ -1235,7 +1235,7 @@ } if(ev->atom == XA_WM_NAME || ev->atom == netatom[NetWMName]) { updatetitle(c); - if(c == selmon->sel) + if(c == c->mon->sel) drawbars(); } }