aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-06-17 18:44:23 -0400
committerDavid Robillard <d@drobilla.net>2022-06-17 18:44:23 -0400
commit452ac347e549c74bf9cd41c89f5b2bf6510b50a1 (patch)
tree95ef967301bea0dccd9cce71e0dbbe7244811b1a
parent324826ab789ba0e312d8ec53f364a6fc62a03d77 (diff)
downloadpugl-452ac347e549c74bf9cd41c89f5b2bf6510b50a1.tar.gz
pugl-452ac347e549c74bf9cd41c89f5b2bf6510b50a1.tar.bz2
pugl-452ac347e549c74bf9cd41c89f5b2bf6510b50a1.zip
Call XrmInitialize()
This must be called before any other Xrm functions are used.
-rw-r--r--src/x11.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/x11.c b/src/x11.c
index ac81ca8..a6ebf95 100644
--- a/src/x11.c
+++ b/src/x11.c
@@ -178,6 +178,7 @@ puglInitWorldInternals(const PuglWorldType type, const PuglWorldFlags flags)
impl->xim = XOpenIM(display, NULL, NULL, NULL);
}
+ XrmInitialize();
initXSync(impl);
XFlush(display);