svkbd

Simple X11 onscreen keyboard.
git clone git://r-36.net/svkbd
Log | Files | Refs | LICENSE

commit bd80a579dc5650348e78797f8d2c548d0b726c45
parent d4336c659c3ba6639fd8737a5baa423eeadca2c4
Author: Christoph Lohmann <20h@r-36.net>
Date:   Mon,  3 Oct 2011 16:30:45 +0200

Removing unused variable and silencing the compiler.
Diffstat:
svkbd.c | 2--
1 file changed, 0 insertions(+), 2 deletions(-)

diff --git a/svkbd.c b/svkbd.c @@ -261,11 +261,9 @@ initfont(const char *fontstr) { XFreeStringList(missing); } if(dc.font.set) { - XFontSetExtents *font_extents; XFontStruct **xfonts; char **font_names; dc.font.ascent = dc.font.descent = 0; - font_extents = XExtentsOfFontSet(dc.font.set); n = XFontsOfFontSet(dc.font.set, &xfonts, &font_names); for(i = 0, dc.font.ascent = 0, dc.font.descent = 0; i < n; i++) { dc.font.ascent = MAX(dc.font.ascent, (*xfonts)->ascent);