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