forked from 12to11/12to11
; * 12to11.c (XLMain): Fix call to XInitThreads.
This commit is contained in:
parent
c26d1c4939
commit
892b74ede2
1 changed files with 3 additions and 3 deletions
6
12to11.c
6
12to11.c
|
@ -171,6 +171,9 @@ XLMain (int argc, char **argv)
|
||||||
/* Set the locale. */
|
/* Set the locale. */
|
||||||
setlocale (LC_ALL, "");
|
setlocale (LC_ALL, "");
|
||||||
|
|
||||||
|
/* Initialize Xlib threads. */
|
||||||
|
XInitThreads ();
|
||||||
|
|
||||||
dpy = XOpenDisplay (NULL);
|
dpy = XOpenDisplay (NULL);
|
||||||
wl_display = wl_display_create ();
|
wl_display = wl_display_create ();
|
||||||
|
|
||||||
|
@ -188,9 +191,6 @@ XLMain (int argc, char **argv)
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Initialize Xlib threads. */
|
|
||||||
XInitThreads ();
|
|
||||||
|
|
||||||
/* Call XGetDefault with some dummy values to have the resource
|
/* Call XGetDefault with some dummy values to have the resource
|
||||||
database set up. */
|
database set up. */
|
||||||
XrmInitialize ();
|
XrmInitialize ();
|
||||||
|
|
Loading…
Add table
Reference in a new issue