X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=st.c;h=f2b309562c3111455e024c03ff89de8e8d333616;hb=0e48a1995eee1c2babc58523ef0be296e4b1c3e8;hp=ca126d7448962d2a4bd175715aa6a184c0522341;hpb=6d8f85232ec741ae2357728d6e96cb8a44e842b4;p=st.git diff --git a/st.c b/st.c index ca126d7..f2b3095 100644 --- a/st.c +++ b/st.c @@ -3671,7 +3671,7 @@ xmakeglyphfontspecs(XftGlyphFontSpec *specs, const Glyph *glyphs, int len, int x specs[numspecs].font = frc[f].font; specs[numspecs].glyph = glyphidx; specs[numspecs].x = (short)xp; - specs[numspecs].y = (short)(winy + frc[f].font->ascent); + specs[numspecs].y = (short)yp; xp += runewidth; numspecs++; }