diff options
| author | Anselm R.Garbe <arg@10ksloc.org> | 2006-08-11 18:37:41 +0200 |
|---|---|---|
| committer | Anselm R.Garbe <arg@10ksloc.org> | 2006-08-11 18:37:41 +0200 |
| commit | d7413ffd2d9a84fc3140b28b26f8cb6bb80164e4 (patch) | |
| tree | 7e7f0f998a77610178e91d57c175526332098abd /draw.c | |
| parent | after some days of experimenting with grey background, I finally give up and ... (diff) | |
| download | dwm-d7413ffd2d9a84fc3140b28b26f8cb6bb80164e4.tar.gz dwm-d7413ffd2d9a84fc3140b28b26f8cb6bb80164e4.zip | |
implement multi-tag selection through button3 click on the specific tag
Diffstat (limited to '')
| -rw-r--r-- | draw.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -109,9 +109,9 @@ drawstatus() | |||
| 109 | dc.x += dc.w; | 109 | dc.x += dc.w; |
| 110 | dc.w = textw(tags[i]); | 110 | dc.w = textw(tags[i]); |
| 111 | if(istile) | 111 | if(istile) |
| 112 | drawtext(tags[i], (i == tsel)); | 112 | drawtext(tags[i], tsel[i]); |
| 113 | else | 113 | else |
| 114 | drawtext(tags[i], (i != tsel)); | 114 | drawtext(tags[i], !tsel[i]); |
| 115 | } | 115 | } |
| 116 | x = dc.x + dc.w; | 116 | x = dc.x + dc.w; |
| 117 | dc.w = textw(stext); | 117 | dc.w = textw(stext); |
