aboutsummaryrefslogtreecommitdiffstats
path: root/src/window-backend-xlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/window-backend-xlib.c')
-rw-r--r--src/window-backend-xlib.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/window-backend-xlib.c b/src/window-backend-xlib.c
index 651437c..aeb9bf1 100644
--- a/src/window-backend-xlib.c
+++ b/src/window-backend-xlib.c
@@ -1,3 +1,4 @@
+#include <locale.h>
#include <stdlib.h>
#include <X11/Xlib.h>
#include <X11/Xatom.h>
@@ -29,6 +30,8 @@ RunesWindowBackend *runes_window_backend_new()
RunesWindowBackend *wb;
XInitThreads();
+
+ setlocale(LC_ALL, "");
XSetLocaleModifiers("");
wb = calloc(1, sizeof(RunesWindowBackend));