summaryrefslogtreecommitdiff
path: root/src/globals.h
diff options
context:
space:
mode:
authorJérémie Courrèges-Anglas <jca@wxcvbn.org>2013-02-06 19:50:53 +0100
committerJérémie Courrèges-Anglas <jca@wxcvbn.org>2013-02-06 21:17:52 +0100
commit20c5d11a3be2843c808ba84f971ed3fed011e144 (patch)
treea384626ed4d274bef782a762efabc775734b716a /src/globals.h
parent3725c23fddd8e936a91296f74e3fd6342270d6bb (diff)
downloadratpoison-20c5d11a3be2843c808ba84f971ed3fed011e144.zip
use utf8-handling Xft functions if we are in an UTF-8 locale
* (manage.c) in get_wmname(), try to get the (UTF-8 encoded) _NET_WM_NAME property. Fallback to GetWMName() if unavailable. Add some debugging bits to see which TEXT encoding clients use for WM_NAME. * (globals.c) use Xft*Utf8 functions to compute text width and draw strings. No regressions with or without Xft, UTF-8 locale or not. * assume we can use Xft*Utf8 functions whenever we have Xft, to reduce the #ifdef dance Original patch from Bernhard R. Link
Diffstat (limited to 'src/globals.h')
0 files changed, 0 insertions, 0 deletions