mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
Locale and international text in widgets
I just noticed that international (reads Greek) text is not rendered at all in widgets. I traced it down to LC_CTYPE being non-empty in my environment. Are there any objections to adding the setlocale(...) call back in awesome.c:main(...)? I could set up a script emptying LC_CTYPE and then exec'ing awesome, but I guess it's harmless to have awesome do that internally. Unless I'm missing something...
This commit is contained in:
parent
cf6f6be5e6
commit
09e878a166
1 changed files with 2 additions and 0 deletions
|
@ -228,6 +228,8 @@ main(int argc, char *argv[])
|
|||
else
|
||||
eprint("options: [-v | -c configfile]\n");
|
||||
}
|
||||
/* Tag won't be printed otherwised */
|
||||
setlocale(LC_CTYPE, "");
|
||||
|
||||
/* X stuff */
|
||||
if(!(dpy = XOpenDisplay(NULL)))
|
||||
|
|
Loading…
Reference in a new issue