fps_state *st;
const char *font;
XFontStruct *f;
- int first, last;
if (! get_boolean_resource (dpy, "doFPS", "DoFPS"))
return 0;
f = XLoadQueryFont (dpy, font);
if (!f) f = XLoadQueryFont (dpy, "fixed");
- first = f->min_char_or_byte2;
- last = f->max_char_or_byte2;
-
{
XWindowAttributes xgwa;
XGCValues gcv;
if (st->clear_p)
{
int w, h;
- int lh = st->font->ascent + st->font->descent;
w = string_width (st->font, string, &h);
XFillRectangle (st->dpy, st->window, st->erase_gc,
x - st->font->descent,