xcb: Export RootWindow to QXcbNativeInterface::nativeResourceForScreen()

Change-Id: I0ad74de8aef7d8a3cb707b61438096c67cd7626e
Reviewed-by: David Faure <david.faure@kdab.com>
bb10
Alexander Volkov 2015-04-22 19:12:34 +03:00
parent 795400d1e5
commit 4b9cf0379f
1 changed files with 3 additions and 0 deletions

View File

@ -248,6 +248,9 @@ void *QXcbNativeInterface::nativeResourceForScreen(const QByteArray &resourceStr
case NoFontHinting:
result = xcbScreen->noFontHinting() ? this : 0; //qboolptr...
break;
case RootWindow:
result = reinterpret_cast<void *>(xcbScreen->root());
break;
default:
break;
}