QWaylandSurface *QWaylandInputDevice::mouseFocus() const { QtWayland::Surface *wlsurface = d->mouseFocus(); if (wlsurface) return wlsurface->waylandSurface(); return 0; }
QWaylandSurface *QWaylandCompositor::directRenderSurface() const { QtWayland::Surface *surf = m_compositor->directRenderSurface(); return surf ? surf->waylandSurface() : 0; }