also update title if the client is on an unfocused monitor
57629642
1 file(s) · +1 −1
| 1235 | 1235 | } |
|
| 1236 | 1236 | if(ev->atom == XA_WM_NAME || ev->atom == netatom[NetWMName]) { |
|
| 1237 | 1237 | updatetitle(c); |
|
| 1238 | - | if(c == selmon->sel) |
|
| 1238 | + | if(c == c->mon->sel) |
|
| 1239 | 1239 | drawbars(); |
|
| 1240 | 1240 | } |
|
| 1241 | 1241 | } |