renderingservertest: each new Surface becomes the seat's focused surface

master
Martin Gräßlin 10 years ago
parent d78ed75549
commit b016765f6c

@ -85,6 +85,10 @@ void CompositorWindow::surfaceCreated(KWayland::Server::ShellSurfaceInterface *s
update();
}
);
if (m_seat) {
m_seat->setFocusedPointerSurface(surface->surface());
m_seat->setFocusedKeyboardSurface(surface->surface());
}
}
void CompositorWindow::setSeat(const QPointer< KWayland::Server::SeatInterface > &seat)

Loading…
Cancel
Save