void *QXcbNativeInterface::connectionForWidget(QWidget *widget) { QXcbScreen *screen = qPlatformScreenForWidget(widget); return screen->xcb_connection(); }
void *QXcbNativeInterface::connectionForWindow(QWindow *window) { QXcbScreen *screen = qPlatformScreenForWindow(window); return screen->xcb_connection(); }