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