Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
| inline |
side by side
implemented viewextend and added M-S-C-n shortcuts for extending the current view...
[dwm.git]
/
draw.c
diff --git
a/draw.c
b/draw.c
index
6466f41
..
3b6967c
100644
(file)
--- a/
draw.c
+++ b/
draw.c
@@
-109,9
+109,9
@@
drawstatus()
dc.x += dc.w;
dc.w = textw(tags[i]);
if(istile)
- drawtext(tags[i],
(i == tsel)
);
+ drawtext(tags[i],
seltag[i]
);
else
- drawtext(tags[i],
(i != tsel)
);
+ drawtext(tags[i],
!seltag[i]
);
}
x = dc.x + dc.w;
dc.w = textw(stext);