Updated to use the Thread affinity patch that we tried to upstream
[profile/ivi/qtwayland.git] / src / plugins / platforms / wayland / qwaylanddisplay.cpp
index 73b46c4..fb3e947 100644 (file)
@@ -132,7 +132,7 @@ QWaylandDisplay::QWaylandDisplay(void)
 
     mFd = wl_display_get_fd(mDisplay, dummyUpdate, 0);
 
-#ifdef QTWAYLAND_EXPERIMENTAL_THREAD_SUPPORT
+#ifdef WAYLAND_CLIENT_THREAD_AFFINITY
     mWritableNotificationFd = wl_display_get_write_notification_fd(mDisplay);
     QSocketNotifier *wn = new QSocketNotifier(mWritableNotificationFd, QSocketNotifier::Read, this);
     connect(wn, SIGNAL(activated(int)), this, SLOT(flushRequests()));