Makes -o work with bitmap fonts
This commit is contained in:
parent
7708d363d7
commit
b95a7dfc88
|
@ -283,7 +283,7 @@ draw_char (monitor_t *mon, font_t *cur_font, int x, int align, uint16_t ch)
|
||||||
|
|
||||||
// The coordinates here are those of the baseline
|
// The coordinates here are those of the baseline
|
||||||
xcb_poly_text_16_simple(c, mon->pixmap, gc[GC_DRAW],
|
xcb_poly_text_16_simple(c, mon->pixmap, gc[GC_DRAW],
|
||||||
x, bh / 2 + cur_font->height / 2 - cur_font->descent,
|
x, y,
|
||||||
1, &ch);
|
1, &ch);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user