Fix threaded rendering
Call XInitThreads() before any other xlib call. Change-Id: Ifa2cd4c3574ff024e733fbf51064699b2de0f8e6 Reviewed-on: http://codereview.qt.nokia.com/3573 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
This commit is contained in:
parent
82f95318d6
commit
0bb02d2108
@ -66,6 +66,8 @@ QXlibIntegration::QXlibIntegration()
|
||||
mEventDispatcher = createUnixEventDispatcher();
|
||||
QGuiApplicationPrivate::instance()->setEventDispatcher(mEventDispatcher);
|
||||
|
||||
XInitThreads();
|
||||
|
||||
mPrimaryScreen = new QXlibScreen();
|
||||
mScreens.append(mPrimaryScreen);
|
||||
screenAdded(mPrimaryScreen);
|
||||
|
Loading…
Reference in New Issue
Block a user