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

This commit is contained in:
Martin Gräßlin 2014-11-27 11:25:28 +01:00
parent d78ed75549
commit b016765f6c

View file

@ -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)