all repos — openbox @ 219e18e74466120016b849cae86c34789598773a

openbox fork - make it a bit more like ryudo

display the build version as well as the runtime version of Xft
Dana Jansens danakj@orodu.net
commit

219e18e74466120016b849cae86c34789598773a

parent

231f4dadabd532183317188c1a0e8ffe87dc579b

1 files changed, 4 insertions(+), 2 deletions(-)

jump to
M otk/font.ccotk/font.cc

@@ -50,9 +50,11 @@ if (!XftInit(0)) {

printf(_("Couldn't initialize Xft.\n\n")); ::exit(3); } + int build = XFT_VERSION; int version = XftGetVersion(); - printf(_("Using Xft %d.%d.%d.\n"), - version / 10000 % 100, version / 100 % 100, version % 100); + printf(_("Using Xft %d.%d.%d (Built against %d.%d.%d).\n"), + version / 10000 % 100, version / 100 % 100, version % 100, + build / 10000 % 100, build / 100 % 100, build % 100); _xft_init = true; }