* Source/x11/XGServer.m (_initXContext): Call XInitThreads to

enable drawing in secondary threads.
This commit is contained in:
fredkiefer 2018-02-09 21:56:01 +01:00
parent 1a15d0393e
commit 969b77a6c1
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2018-02-09 Yavor Doganov <yavor@gnu.org>
* Source/x11/XGServer.m (_initXContext): Call XInitThreads to
enable drawing in secondary threads.
2018-02-05 Yavor Doganov <yavor@gnu.org>
* Headers/xlib/GSXftFontInfo.h (GSXftFontInfo): Inherit from

View file

@ -411,6 +411,8 @@ _parse_display_name(NSString *name, int *dn, int *sn)
}
}
XInitThreads();
if (display_name)
{
dpy = XOpenDisplay([display_name cString]);