X-Git-Url: https://jasonwoof.com/gitweb/?p=st.git;a=blobdiff_plain;f=st.c;h=3aa85391507bf5574b2888dcac0224e922c5550f;hp=a69cc9e79cd3cf79255956d52037dea577d7736d;hb=1fc4afd1e6609732178369c7f17c917204aad4cc;hpb=21bd4f4f9dce4dd19f218965e5a223c93a5a0fec diff --git a/st.c b/st.c index a69cc9e..3aa8539 100644 --- a/st.c +++ b/st.c @@ -3383,6 +3383,11 @@ xdraws(char *s, Glyph base, int x, int y, int charlen, int bytelen) { width, 1); } + if(base.mode & ATTR_STRUCK) { + XftDrawRect(xw.draw, fg, winx, winy + 2 * font->ascent / 3, + width, 1); + } + /* Reset clip to none. */ XftDrawSetClip(xw.draw, 0); }