1
0

only setting LC_CTYPE

This commit is contained in:
arg@mig29 2006-12-05 13:30:37 +01:00
parent e34fbd2320
commit c3af8065ce
2 changed files with 2 additions and 3 deletions

View File

@ -3,14 +3,13 @@
*/
#include <X11/Xlib.h>
#include <X11/Xlocale.h>
#define FONT "fixed"
#define NORMBGCOLOR "#333366"
#define NORMFGCOLOR "#cccccc"
#define SELBGCOLOR "#666699"
#define SELFGCOLOR "#eeeeee"
#define SPACE 30 /* px */
#define SPACE 30 /* px */
/* color */
enum { ColFG, ColBG, ColLast };

View File

@ -84,7 +84,7 @@ setfont(const char *fontstr) {
int i, n;
missing = NULL;
setlocale(LC_ALL, "");
setlocale(LC_CTYPE, "");
if(dc.font.set)
XFreeFontSet(dpy, dc.font.set);
dc.font.set = XCreateFontSet(dpy, fontstr, &missing, &n, &def);